Code Coverage Techniques
-
Friday, May 27, 2005 3:39 PMFrom the first glance of Team Test it seems as if the technique used for measuring code coverage is statement coverage.
Are there plans to add support for other code coverage measures as well?
The British Standard for Software Component Testing BS7925-2 mentions the following techniques apart from statement coverage:
BRANCH AND DECISION COVERAGE
DATA FLOW COVERAGE
BRANCH CONDITION COVERAGE
BRANCH CONDITION COMBINATION COVERAGE
MODIFIED CONDITION DECISION COVERAGE
LCSAJ COVERAGE
Of practical interest for me is branch coverage.
All Replies
-
Friday, May 27, 2005 6:53 PM
Currently we only support line coverage and block coverage, neither of which is actually statement coverage. We discussed and researched adding other types, but we didn't have time for this version. We'll revisit those for the next version.
Chris Marsh
Microsoft Corporation -
Friday, July 07, 2006 1:24 PMThe Food and Drug Administration sets the bar on code coverage for medical software. They state in their guidance that "[Decision (Branch) Coverage] is considered to be a minimum level of coverage for most software products, but decision coverage alone is insufficient for high-integrity applications."
So, it would be nice if the next release could support at least decision coverage. Until then we'll have to buy other tools.
Benoit. -
Saturday, March 24, 2012 12:19 AM
iS MCDC being considered for implementation in VS11?
Best Regards Sina
-
Sunday, April 01, 2012 12:28 PM
Looks like we are not getting it with this release. I was expecting at least branch, condition, decision and loop coverage in VS11 :(
Is there any third party solution available which could provide such coverage info for VS unit tests?
Regards, Dmitry

