Code Coverage using cxxtest

438 views
Skip to first unread message

Arjun Suresh Raji

unread,
May 9, 2014, 6:20:26 AM5/9/14
to cxxtes...@googlegroups.com
Hi,
Is it possible to do code coverage using cxxtest?

Bill Hart

unread,
May 22, 2014, 9:36:21 PM5/22/14
to cxxtes...@googlegroups.com
CxxTest doesn't support code coverage, but the gcovr package does.  See http://gcovr.com/

--Bill

Arjun Suresh Raji

unread,
May 26, 2014, 12:16:44 AM5/26/14
to cxxtes...@googlegroups.com

Hi,
I am not sure how gcovr is any different from lcov which gives what I need exactly. 
However normal runs in the system limits the coverage to below 60%.I was planning to cover the rest of the code with a unit testing utility like cxx test that could help me cover the uncovered branches.

I was looking for something like that.

--
You received this message because you are subscribed to a topic in the Google Groups "CxxTest Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cxxtest-forum/OzGbvCmNNrE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cxxtest-foru...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bill Hart

unread,
Jun 4, 2014, 12:05:50 AM6/4/14
to cxxtes...@googlegroups.com
The gcovr and lcov utilities are quite similar.  gcovr provides options for generating XML outputs, which is convenient when working with continuous integration tools like Jenkins.

--Bill


On Sunday, May 25, 2014 10:16:44 PM UTC-6, Arjun Suresh Raji wrote:

Hi,
I am not sure how gcovr is any different from lcov which gives what I need exactly. 
However normal runs in the system limits the coverage to below 60%.I was planning to cover the rest of the code with a unit testing utility like cxx test that could help me cover the uncovered branches.

I was looking for something like that.

On 23-May-2014 7:06 am, "Bill Hart" <whar...@gmail.com> wrote:
CxxTest doesn't support code coverage, but the gcovr package does.  See http://gcovr.com/

--Bill



On Friday, May 9, 2014 4:20:26 AM UTC-6, Arjun Suresh Raji wrote:
Hi,
Is it possible to do code coverage using cxxtest?

--
You received this message because you are subscribed to a topic in the Google Groups "CxxTest Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cxxtest-forum/OzGbvCmNNrE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cxxtest-forum+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages