LabVIEW Unit Test Framework Toolkit API Reference

Run Tests from File VI

  • Updated2023-02-21
  • 2 minute(s) read

Run Tests from File VI

Owning Palette: Unit Test Framework VIs

Requires: Unit Test Framework Toolkit

Executes tests from .lvtest files.

You also can use the Run Tests from Project VI to execute tests from a LabVIEW project.

Note  The Run Tests from File VI does not support execution on real-time (RT) targets. You must use the Run Tests from Project VI to execute tests on RT targets.

Example

show progress bar? specifies whether to show the progress window during test execution. The default is TRUE.
test file paths specifies the paths to each .lvtest file this VI executes.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
test results out returns test results of the specified .lvtest files.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Programmatically Run Tests from File VI in the labview\examples\Unit Test Framework\Programmatic Tests directory for an example of using the Run Tests from File VI.

Log in to get a better experience