From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
The NI LabVIEW Unit Test Framework Toolkit helps you automate LabVIEW VI unit testing to perform functional validation and demonstrate that an application behaves properly. Right-click on any VI in the LabVIEW Project Explorer to generate a unit test, or import test parameters from a text document created in an editor such as Microsoft Excel. Tests can encompass multiple test cases, which define input values and the expected output for any data type, including arrays and clusters.
The resulting dialog identifies the source of incorrect outputs and reports the percentage of code that was exercised during testing to track code coverage. The included reporting functionality can automatically generate validation documents in HTML, ATML/XML, or ASCII formats, which are valuable for documenting that an application meets requirements and behaves within defined parameters. You also can integrate this toolkit with NI Requirements Gateway for automated tracking of test requirements coverage.
Advanced test configuration is possible with setup and teardown VIs. These are useful when the VI under test needs to be in a particular state or when it requires a large amount of complex data. You can also define custom tests that are called from the framework and included in the generated reports. Use this toolkit to install a palette for programmatic control of tests.
Perform the following steps:
For inquiries regarding this tool, troubleshooting, and feature requests please refer to the LabVIEW 2014 Unit Test Framework (64-bit) Discussion thread.
At present, this toolkit is experimental, unsupported, and not recommended for production applications. Please see the licensing notice below.
Because the software technology available on NI Labs is experimental and has not yet been released for large-scale commercial use or fully tested by NI, the terms of the NI Labs license agreements vary from the standard NI software license terms. Further, the license terms for specific NI Labs technology may vary. Please carefully read the terms of the license agreement included with each NI Labs download before accepting those terms.