Creating a Test from a User-Defined Test VI
- Updated2025-11-07
- 1 minute(s) read
Creating a Test from a User-Defined Test VI
- Open the LabVIEW project that contains the files on which you want to perform unit testing.
- Right-click a VI and select from the shortcut menu. A Save dialog box appears. LabVIEW automatically creates a user-defined test VI from the User-Defined Test Template.vit file located in the labview\templates\UnitTestFramework directory. You also can find the template file by selecting to display the New dialog box and selecting .
- Enter a filename for the user-defined test VI.
- Click the OK button to save the user-defined test VI. LabVIEW automatically creates a test and configures the test to use the user-defined test VI. LabVIEW saves the .lvtest file in the same location as the user-defined test VI.
- Select to save the project.
- Modify the user-defined test VI to define your own test.