Create Junit Report.vi Is Not Found When Using the LabVIEW Unit Test Framework From the CLI

Updated Dec 4, 2023

Reported In

Software

  • LabVIEW Unit Test Framework Toolkit
  • LabVIEW

Issue Details

I am automating a LabVIEW test process using the LabVIEW Unit Test Framework toolkit. When I attempt to run the test from the CLI (Command Line Interface) the "create junit report.vi" which is necessary for running the tests.

Solution

In order to run unit tests from the command line interface with LabVIEW, it is necessary to install the UTF Junit Report library using the JKI VI Package Manager (VIPM) software. To fix this missing dependency install this library using the VI Package Manager or by downloading it from the following link: UTF JUnit Report. Also, make sure that the Unit Test Framework Toolkit is installed for the correct LabVIEW version, if you do not have this component installed you can download it from this link: LabVIEW Unit Test Framework Toolkit.