Sign Up

LMock by Astemes - Toolkit for LabVIEW Download

Automated test double generation

D Discussion Watch * 0 ↓65
ReleasedJun 19, 2024
Publisher Astemes
License MIT
LabVIEW VersionLabVIEW>=20.0
Operating System Windows, Mac, and Linux
Dependencies astemes_lib_lunit  
Project links Homepage   Discussion


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

Release Notes (Jun 19, 2024)

- 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.

antsundq was a contributor to this release

Download Package

All Contributors

  Post an Idea   Post a Resource

Recent Posts