|Download Help (Windows Only)|
The LabVIEW Unit Test Framework Toolkit provides several methods of returning test results from the test execution. You can view test results in the Unit Test Framework Results window that appears after execution is complete. The Project Explorer window also displays results from the test execution. You can generate test reports in several file formats. You also can generate log files.
The Unit Test Framework Results window provides both summary and detailed information about the test execution, including tests and VIs that passed, failed, were skipped, or produced errors. Use this window to view test results. You also can save the results from this window to a .lvutf file that you can load later.
A .lvutf file contains the test results of the test execution. You can read .lvutf files interactively from the project window or programmatically by using the Open Results Window VI. LabVIEW loads .lvutf files in the Unit Test Framework Results window only.
The following figure shows an example of test results in the Unit Test Framework Results window.
After you execute tests and return to the Project Explorer window, colored dots appear next to the icon of each test you executed. These dots denote whether the test passed (green), failed (red), produced errors (exclamation mark), or was skipped (gray).
The following figure shows an example of test results in the Project Explorer window.
|Note After every subsequent test execution, LabVIEW updates the test results in the Project Explorer window. However, you cannot save the test results when you close the project.|
You can configure the Unit Test Framework Toolkit to generate test reports after test execution is complete. Test reports contain results from the execution. You can customize test reports by specifying the contents of the reports.
You can generate test reports in the following file formats:
You can configure the Unit Test Framework Toolkit to generate log files during test execution. Log files contain detailed information about the execution.
You can generate the following log files:
|Note LabVIEW uses the information in this log file to determine which tests to execute when you execute tests that have been modified since the last execution. You must generate this log file in order to execute only modified tests.|