01-17-2022 10:57 AM
I am using the following:
as reported by NI Package Manager.
On Windows 10 Pro - 21H2.
I also have LV 2018 SP1 installed, if that matters.
When I try and open the RunUnitTests.lvclass ("C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI\Operations\RunUnitTests\RunUnitTests.lvclass") it is missing the file "create junit report.vi"
When I navigate to <C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib> there is no "\ni\" directory. There is a "utf" directory, but it does not contain the file either.
The "utf" directory contains a "Create Report.vi", but junit is *not* one of the options.
According to the UTF manual, bug ID: 972908 (JUnit XML report is not generated due to a VI Path error.) is listed in the Bug Fixes.
Is there a missing dependency in the UTF distro?
What am I missing? (something simple I a sure)
Solved! Go to Solution.
01-19-2022 11:00 AM
Answering my own question in case someone else is in the same boat...
There is a required dependency to run the the Unit Test Framework (UTF) from the command line interface (CLI) as stated in this Knowledge Article.
To quote the article:
"... 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. "
Hope this save someone else some time and headaches.
01-20-2022 11:13 AM
Would've been nice if it was in the documentation instead of in a knowledge base article.
01-20-2022 11:21 AM
@billko wrote:
Would've been nice if it was in the documentation instead of in a knowledge base article.
Yes, I was tempted to leave a snarky comment about that 😇
01-20-2022 06:51 PM
@Frozen wrote:
@billko wrote:
Would've been nice if it was in the documentation instead of in a knowledge base article.
Yes, I was tempted to leave a snarky comment about that 😇
I did it for you so you didn't have to. 😄