Reading Journal 7: Test Coverage

Read

  • Sommerville Chapter 8

What to Submit

Upload a document to PioneerWeb that addresses the following questions:

  1. What is the difference between C1 and C2 coverage?  Can you give an example comparing the two?
  2. In production systems, what is the typical code-to-test ratio?  Why would you expect this ratio value?
  3. What is the code-to-test ratio for your team project?  What tools are you using to generate the applicable statistics?
  4. What percentage of code coverage should you aim to achieve and why?