08-28-2013 11:49 AM
While there may exist a unit testing framework in LabView by NI, there is unfortunately none provided for CVI. Has anyone had any experience with using other frameworks such as Test Complete or C Unit test frameworks with CVI?
08-28-2013 06:49 PM
Gosh Steve, what a great question. What about Check? I haven't tried it yet, but since it's for C, it seems like it should work for LWCVI. http://check.sourceforge.net/
I do hope someone will provide us a definitive answer.
My son who is working at Oracle, doing Java programming, has told me about unit testing for years, asking me if I did unit testing when I mentioned that I had bugs in my C or LabWindows code. I always told him "sure, my code passed all my unit tests" but not wanting to spend the time to learn about unit testing and see if it could be applied to CVI.
Good luck,
John
08-28-2013 08:20 PM
Steve:
Maybe CUnit is more appropriate for LWCVI? Check seems a bit complex to use, using Autotools. I haven't tried CUnit either, just now reading the documentation. http://cunit.sourceforge.net/
10-21-2014 12:18 PM
Hello John and Steve,
Have you had the chance to try Check or CUnit with CVI projects? What were the results?
Thanks,
Anna
11-25-2014 04:09 AM
Hi,
the mentioned CUnit frameworks works well in LabWindows CVI. It is in use since several years without any problem.
Cake
10-08-2017 11:59 AM
Hi,
i know your answer is three years old, but can you explain how to integrate cunit in cvi?
10-08-2017 12:59 PM
Gosh, I had never tried Cunit and had completely forgotten about it. Sorry.
John