Is there any automatic unit test case generator available for C language in Eclipse/ Netbeans or visual studio?
Generator in the sense, if I give a file it should generate unit test cases for all the functions. (like jUnit maker in Netbeans).
Is there any automatic unit test case generator available for C language in Eclipse/ Netbeans or visual studio?
Generator in the sense, if I give a file it should generate unit test cases for all the functions. (like jUnit maker in Netbeans).
If you want a tight integration in Eclipse, you should take a look at CUTE. It is a C++ Unit testing framework, but it is generally not so much of an effort to make C code comply to C++ compilation, and you get access to more inspection tools like this one.
You can take a look at a list of C Unit Testing framework and C++ Unit testing framework, but I don't know of any as much integrated in Eclipse as CUTE is. (But Eclipse is open source, and nothing stops you from creating a plug-in for another unit test framework :) )
There is a whole bunch of different C Unit test frameworks.
Following are free ones that has generators: