LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Test in LV

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
0 Kudos
Message 11 of 15
(1,465 Views)

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.

0 Kudos
Message 12 of 15
(1,445 Views)

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.

 

 

0 Kudos
Message 13 of 15
(1,187 Views)

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 

0 Kudos
Message 14 of 15
(1,168 Views)

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

0 Kudos
Message 15 of 15
(1,125 Views)