LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Test Framework for CVI

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?

0 Kudos
Message 1 of 7
(5,088 Views)

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

0 Kudos
Message 2 of 7
(5,076 Views)

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/

0 Kudos
Message 3 of 7
(5,066 Views)

Hello John and Steve,

 

Have you had the chance to try Check or CUnit with CVI projects? What were the results?

 

Thanks,

 

Anna

National Instruments
0 Kudos
Message 4 of 7
(4,360 Views)

Hi,

 

the mentioned CUnit frameworks works well in LabWindows CVI. It is in use since several years without any problem.

 

Cake

0 Kudos
Message 5 of 7
(4,111 Views)

Hi,

 

i know your answer is three years old, but can you explain how to integrate cunit in cvi?

0 Kudos
Message 6 of 7
(3,086 Views)

Gosh, I had never tried Cunit and had completely forgotten about it. Sorry.

John

0 Kudos
Message 7 of 7
(3,080 Views)