Executing Only Modified Tests (Unit Test Framework Toolkit)
- Updated2023-02-21
- 2 minute(s) read
Complete the following steps to execute only tests that have been modified since a specified time.
- Open the LabVIEW project that contains the files on which you want to perform unit testing.
-
Click the Project Properties button
on the Project toolbar to display the Project Properties dialog box.
- On the Unit Test Framework page, place a checkmark in the Modified tests and VIs checkbox. The Modified Since options become available.
- Select the filter option you want to apply.
Note If you select the Last test execution option, you first must generate a test status log file before you can execute tests that have been modified since the last execution. - (Optional) Place a checkmark in the Include tests of all caller VIs if you want to execute tests of all the VIs that call the modified VI under test.
- Click the OK button to close the dialog box and return to the Project Explorer window.
- (Optional) Select File»Save if you want LabVIEW to save the filter setting in the project file (.lvproj).
The next time you execute tests interactively, LabVIEW executes only tests that have been modified since the time you specified on the Unit Test Framework page. You also can execute only modified tests programmatically by using the Run Tests from Project VI. You first must save the filter setting in the project that you want to execute modified tests.