can Junit be used to test C programs also
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   veena_vasisht
Posted On:   Thursday, July 10, 2003 10:04 PM

			

can anyone pls tell me whether i can use JUnit to test C codes...

thanx in advance

Re: can Junit be used to test C programs also

Posted By:   Jeanne_Boyarsky  
Posted On:   Friday, July 11, 2003 01:37 PM

The Junit framework has been ported to many other languages.



C++ has cppunit from sourceforge



There is also a list of ports in different languages including C.

Re: can Junit be used to test C programs also

Posted By:   Anonymous  
Posted On:   Friday, July 11, 2003 02:48 AM

I think you can (if you want to write lots of wrappers) but you shouldn´t.


But JUnit is "only" the java implementation of a set of pattern (framework) designed by Kent Beck and Erik Gamma. I know that there are implementations for other languages like NUnit for .NET. I did a quick search starting on junit.org an got http://xprogramming.com/software.htm. There are several test frameworks listet for several languages. For C, too (and CURL, and Delphi, Flash...).

About | Sitemap | Contact