LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi testing with subvis

Solved!
Go to solution

I've been testing out the unit testing tool that comes with LabVIEW and I can set up and run tests on each unit. Is the tool capable of creating a unit test for every vi in a project in one go? I could then simply modify each test to test the vi it is for. Also, is it possible with this tool to run a test on a vi with subVIs and inject errors or other inputs to the subVIs? Or is it a case of testing each and every vi separately? This makes for a large project.

 

Tay

0 Kudos
Message 1 of 4
(2,487 Views)
Solution
Accepted by slipstick

Hi Tay,

 

You can use Setup and Teardown VIs to test your VIs in this manner.

 

Refer to the Setup and Teardown VI section in the help manual:  http://zone.ni.com/reference/en-XX/help/372584B-01/lvutfhowto/utfh_config_set_tear/

Message 2 of 4
(2,450 Views)

Well, that was easy. Smiley Happy

0 Kudos
Message 3 of 4
(2,416 Views)

Glad I could help!

0 Kudos
Message 4 of 4
(2,405 Views)