Changes between Version 7 and Version 8 of Developer/Coverage/Theory


Ignore:
Timestamp:
Sep 10, 2009, 8:33:26 PM (10 years ago)
Author:
GlennHumphrey
Comment:

Changed location of picture

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Coverage/Theory

    v7 v8  
    1616 *  '''Modified Condition/Decision Coverage|Modified Condition/Decision Coverage (MC/DC)''' - Has every condition in a decision taken on all possible outcomes at least once? Has each condition been shown to affect that decision outcome independently?
    1717
     18[[Image(CoverageCategories.png)]]]]
     19
    1820Each of these criteria can be used independently to analyze the code in question.  Application of any one criteria will likely improve the test suite to some degree.  But each criteria has advantages and disadvantages.  If we examine the criteria collectively, it can be seen that there are clear relationships between the different criteria as shown in the picture.  If the test suite satisfies Statement Coverage, it will partially satisfy Decision Coverage and MC/DC.  If the test suite satisfies Decision Coverage, it will completely satisfy Statement Coverage and partially satisfy MC/DC.  There is also a complexity relationship where Statement Coverage is the least complex to satisfy and MC/DC is the most complex to satisfy.
    1921
    20 [[Image(CoverageCategories.png)]]]]
     22<br style="clear: both" />
    2123
    2224If we consider the following example