-
Try out the new Jake: AI Coding Assistant for LabVIEW (beta)!
Get answers to questions about LabVIEW and discuss your code.
LMock by Astemes - Toolkit for LabVIEW Download
Automated test double generation
Version | 1.2.2.6 |
Released | Jun 19, 2024 |
Publisher | Astemes |
License | MIT |
LabVIEW Version | LabVIEW>=20.0 |
Operating System | Windows, Mac, and Linux |
Dependencies | astemes_lib_lunit |
Project links | Homepage Discussion |
Description
LMock is a mocking framework used for automatically generating and maintaining mock classes.
A mock is a test double used, in place of a concrete implementation, when writing automated tests. This enables testing units of code in isolation, as the interface to the rest of the system is "mocked". Using a mock the behavior of the code under test can be verified, by checking that the expected VI calls are made. Furthermore, outputs from calls to the mocked objects can be predefined to stimulate and control the system under test.
The LMock toolkit features an expressive API, powerful scripting features, and detailed failure descriptions.
For full documentation, please see https://lmock.astemes.com/
Release Notes
- Make upstream errors flow through mock calls (requires default connector pane 4224 layout for now).
- Add overlay to mock classes in LabVIEW project explorer to distinguise mock classes from regular classes.
- Rename Exactly and At Least expectations to conform to naming convention. Old vi:s still included and marked as deprecated to avoid breakin change.