Uhm, well usually a test coverage tool is a separate tool than a unit test framework.
I don't use VC++ very much, but for gcc getting the test coverage requires to add a couple of additional compiler flags and then you use the gcov tool to get the result. I guess there are also ways for getting test coverage in VC++...
Anyone used this VC++ version for test coverage?
Thanks!
Bas
Thank you for your quick reply.
In the Unix we can get the UT code coverage by make gcov, and generate
the XML report
Can we use cygwin in windows to get the UT code coverage use make gcov?
Thank you very much.
BR
Hong Yongchao
2011/9/21 Bas Vodde <ba...@odd-e.com>:
http://msdn.microsoft.com/en-us/library/ms182496(v=vs.80).aspx
thanks, James
--------------------------------------------------------------------------------------------
James Grenning Author of TDD for Embedded C
www.renaissancesoftware.net http://pragprog.com/titles/jgade/
www.renaissancesoftware.net/blog
www.twitter.com/jwgrenning