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.
Windows (Vista/7/8/8.1) or Real-Time OS
LabVIEW 2014 64-bit
Perform the following steps:
Copy the folders and files in the <LabVIEW> folder to your LabVIEW 2014 64-bit folder (C:\Program Files\National Instruments\LabVIEW 2014\).
Copy the <Shared> Folder to your National Instruments 64-bit folder (C:\Program Files\National Instruments\).
Copy the <License Manager> folder to C:\Program Data\National Instruments and launch NI License Manager to activate Unit Test Framework with your serial number. The Unit Test Framework should now be ready to use with LabVIEW 2014 (64-bit).
At present, this toolkit is experimental, unsupported, and not recommended for production applications. Please see the licensing notice below.
NI Labs Licensing Note
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.