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).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 🙂 )