Create Tests
- Updated2025-11-07
- 1 minute(s) read
Use the Project Explorer window to create tests interactively. You can
create tests from VIs, existing .lvtest files, or user-defined test
VIs.
Note You must create
and save a LabVIEW project before you can use the LabVIEW Unit Test Framework
Toolkit to create tests. Use projects to group together all the files you need to
perform unit testing.
When you create a test from the Project Explorer, LabVIEW creates an
.lvtest file on disk. An .lvtest icon
appears on both the Items and Files pages.
Each .lvtest file contains the settings LabVIEW uses to check the
VI under test for functional correctness.
Note By default, LabVIEW saves
.lvtest files in the same directory as the VIs under test.
You can specify a different Default location file path on the
Unit Test Framework page of the Project
Properties dialog box.