Complete the following steps to specify a minimum code coverage requirement.
  1. Open the LabVIEW project that contains the files on which you want to perform unit testing.
  2. Double-click a .lvtest file to display the Test Properties dialog box.
  3. Select Advanced from the Category list to display the Advanced page.
  4. Place a checkmark in the Set minimum code coverage checkbox.
  5. Use the Code coverage control to specify a minimum code coverage requirement, in percent.
    Note Use minimum code coverage requirement for VIs that contain Case structures.
  6. Click the OK button to close the dialog box and return to the Project Explorer window.
  7. Select File»Save to save the project.
The next time you execute this test, LabVIEW runs the VI under test and measures the percentage of subdiagrams executed. If the VI under test does not meet the minimum code coverage requirement you specified, test results show this test as failed.