Code Coverage NI Unit Test Framework Toolkit

Updated Mar 20, 2018

Reported In

Software

  • LabVIEW Unit Test Framework Toolkit

Issue Details

I am following the Prove It Works: Using the Unit Test Framework for Software Testing and Validation and I see that there is a graphic representation of the Code Coverage that would help to display the tests.
Is there a way to get that graphic from LabVIEW?

Solution

LabVIEW does not have a specific function that outputs the graphic. Even though, you can obtain data that allows you to correlate the graphic's information using the Unit Test Framework Results Window

Additional Information

Code coverage measures the percentage of subdiagrams LabVIEW executes when you run a VI. This measurement provides information about the amount of code that was executed and might be useful when performing unit testing.

WAS THIS ARTICLE HELPFUL?

Not Helpful