Sign Up

LMock by Astemes - Toolkit for LabVIEW Download

Automated test double generation

D Discussion Watch * 0 ↓66
 logo
Version1.2.2.6
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

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

1.2.2.6 (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

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts