07-22-2010 04:34 PM
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
Solved! Go to Solution.
07-26-2010 09:06 AM
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/
07-26-2010 04:21 PM
Well, that was easy.
07-26-2010 05:17 PM
Glad I could help!