Sign Up

LUnit by Astemes - Toolkit for LabVIEW Download

Unit testing framework for LabVIEW

D Discussion Watch * 7 ↓973
 screenshot
Version1.6.2.17
ReleasedJun 10, 2024
Publisher Astemes
License MIT
LabVIEW VersionLabVIEW>=20.0
Operating System Windows, Mac, and Linux
Used By sas_workshops_lib_lunit_for_g_cli   astemes_lib_lunit_cli   astemes_lib_lmock  
Project links Homepage   Documentation   Repository   Discussion

Description

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
- LabVIEW API

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 https://lunit.astemes.com.

Release Notes

1.6.2.17 (Jun 10, 2024)

This release (v1.6.x) contains the following improvements and new features:
- Default to open block diagram only when opening a test case from the Execution UI.
- Add LUnit check mark overlay to Test Case classes in the LabVIEW Project Explorer to make it easier to distinguise test cases from normal classes
- Show test result overlays for test methods
- Performance improvements when running tests in parallell. Test execution overhead reduced significantly for large test suites.
- Added Pass/Fail if Matching String advanced assertion

antsundq was a contributor to this release


Download Package

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts