-
Try out the new Jake: AI Coding Assistant for LabVIEW (beta)!
Get answers to questions about LabVIEW and discuss your code.
LUnit Test Inheritance Add-On by Astemes - Toolkit for LabVIEW Download
Version | 1.0.3.4 |
Released | Dec 09, 2024 |
Publisher | Astemes |
License | MIT |
LabVIEW Version | LabVIEW>=20.0 |
Operating System | Windows, Mac, and Linux |
Dependencies | astemes_lib_lunit |
Project links | Homepage Repository Discussion |
Description
This addon enables test inheritance in LUnit, which previously was part of the framework.
To create an ancestor test cast class, use the menu item in the Tools menu (Tools>LUnit>New Anestor Test Case...). If you create test case classes inheriting from this test case, all dynamic dispatch VIs in the test case will be executed for any descending test case. In this way you can create a tree structure of test case classes mirroring the structure of the codebase. This can be useful for testing frameworks or plugin architectures where you want to add constrains on or verify behavior of users of the architecture.
Release Notes
The functionality in this package was migrated out of the main LUnit package as it is considered an advanced feature and not required in most workflows.
After installing, you can create a Test Case with test inheritance from tools->LUnit-> New Ancestor Test Case...