Tools for measure code coverage (C0, C1) of unit testing for C++

Dear Experts,

Please help me to find best tools for measure code coverage (C0, C1) automatically when I run UT test script.
Or any integrated tools for unit test tool to measure code coverage.
Language: C++
I'd refer free tools.

P/s: Now, I'm using CppUnit to execute my unit test scripts.

Regards.
FSOFT-SAAsked:
Who is Participating?
 
trinitrotolueneDirector - Software EngineeringCommented:
FSOFT-SA:
so I did some further research and am down to a couple

Have you looked at Bulls Eye coverage? Its also mentioned in  my last post.
http://www.bullseye.com/
Its not free but you might want to evaluate it first.

And then ofcourse there's what Visual Studio provides. Its free but I was more comfortable with Bulls Eye
http://blogs.msdn.com/b/ms_joc/archive/2005/04/08/406608.aspx
0
 
trinitrotolueneDirector - Software EngineeringCommented:
I've used LDRA and AMC's Codetest but both these are paid tools.

Here is a link which does a review of some free tools

http://open-tube.com/10-code-coverage-tools-c-c/
0
 
phoffricCommented:
What OS and compiler are you using?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
peprCommented:
Off Topic: If you are using C++11, then there is much better tool for unit testing than CppUnit is.
0
 
FSOFT-SAAuthor Commented:
@phoffric: We're using Windows & Visual studio 2008.
0
 
phoffricCommented:
Sorry, I don't have Visual studio 2008. I do see that code coverage is discussed on MSDN for this product.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.