07-31-2018 01:58 AM - edited 07-31-2018 02:00 AM
Hi Everyone,
I am using UTF to automate my unit testing. I am facing one problem with the test reports that are generated after the execution of the UTF.
I have used the SetupVI to pass the inputs to my VI Under Test.
In the Test case page, It will disable those inputs.
After running this unit test, It will create the test report, in the report the Values of Operation, A and B are shown as zero(default values). It is not capturing the values passed from the SetupVI to the VI under test and those are not added in the report.
Is there any way to get those values listed in the report?
Thanks
Ravi
07-31-2018 04:49 AM
Dear Ravi,
just checked, I didn't find a way to print those values directly. As a workaround you can use a teardown VI to print those values (because the report does not print the outputs of the setup but it does print the outputs of the teardown). Unfortunately, UTF does not provide a data flow across the setup and the teardown, which can make things tricky. A workaround for this is to have the setup, VI under test and teardown as member VIs of a class and store aux test data in the class.
Peter