id="info"

Question

Locked

Which C unit test tool (library) are you using

By jean-simon.s.larochelle ·
For the Java code that we write we use JUnit (and associated associated extensions like DbUnit, etc.). This is working really well for us.
We would like to use a standard tool (preferably open source) for the C++ code that we write. Which one are you using ? Would you recommend this tool ?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Re: Which C unit test tool (library) are you using

by nidujay In reply to Which C unit test tool ...

If you're primary focussing on WIN32 development, try CUnitWin32 (http://code.google.com/p/cunitwin32/). It's light and simple to use. It also isolates tests as separate processes so that global/static variables are initialised between tests.

If your dev platform is Linux/Unix, I recommend "Check".

Collapse -

C-unit

by bniranjanbhat In reply to Which C unit test tool ...

C-unit is an opensource tool and is in similar lines with the J-unit. You can run it in automated mode,console mode or basic mode. It also generates reports in a nice format in html so that you can impress your manager!!

Collapse -

Try CPPUnit

by dasdebjyoti In reply to Which C unit test tool ...

I have started trying to work with CPPUnit for this purpose with my VC++ projects. I works well with C++. I hope it carries support for C code also, I'll need to re-engineer it to support C.

Back to Software Forum
4 total posts (Page 1 of 1)  

Software Forums