Sign Up

LUnit by Astemes - Toolkit for LabVIEW Download

Unit testing framework for LabVIEW

* 4 ↓40
ReleasedJul 08, 2022
Publisher Astemes
License MIT
LabVIEW VersionLabVIEW>=20.0
Operating System Windows
Project links Homepage   Documentation   Repository  


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 (Jul 08, 2022)

- Add buttons to LabVIEW Toolbar for running all tests in project and for creating new test case
- Add option to ignore inherited tests
- Add tool for measuring code coverage.
- Add support for organizing tests in nested LabVIEW Project files.
- Internal implementation for test results updated from class based to regular type defs. The only way to access these classes is through the API, so the impact on users is limited.
- Minor useability and performance improvements.

Install with VIPM Download Package

Note: Get VIPM Desktop to install this package directly into LabVIEW.

All Contributors

  Post an Idea   Post a Resource

Recent Posts