LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I unit test VIs with classes?

Solved!
Go to solution

I have my first VI using an Object Oriented approach that I want to Unit Test. How in the world do I configure the Unit Test Framework to accept a specific class? See the attached snippet.

0 Kudos
Message 1 of 3
(2,930 Views)
Solution
Accepted by topic author elrathia

Hi elrathia,

 

Here is a link that should help you out:

 

http://zone.ni.com/reference/en-XX/help/372584D-01/lvutfconcepts/utfc_tests_cases/

 

At the bottom, you can see a location to an example:

 

labview\examples\Unit Test Framework\LabVIEW Class\LV Class.lvproj

 

(Note this is for 2012)

 

DylanC

Message 2 of 3
(2,908 Views)

Ah. That will do quite nicely. Thank you.

0 Kudos
Message 3 of 3
(2,887 Views)