Sign Up

LUnit (System) by Astemes - Toolkit for LabVIEW Download

Unit testing framework for LabVIEW

Watch * 1 ↓177
ReleasedFeb 02, 2023
Publisher Astemes
License MIT
LabVIEW VersionLabVIEW>=0
Operating System Windows, Mac, and Linux
Used By astemes_lib_lunit  
Project links Homepage  


LUnit is a LabVIEW Unit Testing Framework built on the xUnit unit testing model and inspired by JKI VI Tester. LUnit helps you test driving your LabVIEW development and provides the following key features.

- Fast test execution
- Clear and informative results view
- Run specific tests quickly from right-click menu
- Test results visible directly in LabVIEW project explorer
- Instant loading of UI
- Parallel test execution managed by framework
- Dynamic test methods for testing of class hierarchies
- Native CLI and support for CI

LUnit is integrated into the LabVIEW development environment and the functionality is accessed through the Tools->LUnit menu. From the menu, you may create a new tests or open the LUnit UI to run tests. Tests may also be executed directly from the project explorer by right-clicking on a Test Case and selecting Run Test Case... from the menu.

There are a few examples installed with LUnit and these may be found through the NI Example Finder using the keyword LUnit. The examples are installed at C:\Program Files (x86)\National Instruments\LabVIEW 20XX\examples\Astemes\LUnit by default.

Documentation is available on

Release Notes (Feb 02, 2023)

Version 1.2 is a complete rewrite of LUnit with feature parity to earlier versions. The rewrite was done using test first test driven development and as a consequence the code base is now smaller, less complex, significantly more performant and more maintainable.

For users of LUnit, very little has changed functionally. The performance and responsiveness have been improved through the rewrite. The test scaffolding additionally provides a foundation for further improving on performance and useability. Please contribute ideas.

The reason for the increment of the minor version is a change to the API for running test programmatically. The old API is still available, with one minor change. All results are now returned in one event with an enum indicating the type of result. If someone needs to use the legacy format, it is straight forward to develop an adapter, please reach out for support if this is a concern.

Download Package


  Post an Idea   Post a Resource

Recent Posts