11-29-2005
07:34 AM
- last edited on
03-13-2025
11:17 AM
by
Content Cleaner
LabVIEW does have a NUnit-like tool available from here:
http://zone.ni.com/devzone/cda/tut/p/id/3586
Unfortunately, I do not find LabVIEW well suited for unit testing the way that NUnit is. It seems cumbersome and clumsy. One thought I had was to compile my VI into a DLL and use NUnit to do the unit testing. I do have a few years of C# experience, so this seems like an easy task for me. It may not be for others. For those wanting to try this, download one of the free Visual Studio Express versions from here and give it a try with NUnit:
http://msdn.microsoft.com/vstudio/express/default.aspx
http://www.nunit.org
I have not had a chance to do this, but this would allow daily builds with unit testing, etc.
Thanks
Message Edited by Support on 07-18-2008 09:27 AM
12-01-2005 10:50 AM
Check out TimeSlice at www.tslice.com. The UTool, which is one of the tools under the OverVIEW test and validation edition allows you to develop test cases to verify code function, play back these test cases for regression testing, and generate test reports. Within OverVIEW, you can bring up a project, see the test status of all project unit tests, and launch automated batch runs.
These tools evolved focusing on the biomedical, millitary, aerospace, power, and other industries, where mission-critical and/or regulated validations are required.
02-02-2009 10:13 AM
JKI has just released VI Tester, which is a pure LabVIEW implementation of the xUnit software testing architecture. In VI Tester, unit tests are VIs that perform tests on other VIs. Below, is a screenshot of the user interface running some tests.
02-03-2009 12:26 AM
For unit testing and other ways of debugging LabVIEW applications, please feel free to visit the forthcoming ni.com/softwareengineering and to check for new content on ni.com/largeapps starting Friday, 02/06/2009.
Herbert
02-09-2009 09:28 PM
The LabVIEW Unit Test Framework Toolkit is the NI unit test tool for LabVIEW code. http://zone.ni.com/devzone/cda/tut/p/id/8082
Neil