Note about Cobertura

Workflow of Unit Test without Cobertura

  1. compile source code;

  2. compile test code;

  3. run unit test;

Workflow of Uniit Test with Cobertura

  1. compile source code;

  2. instrument source code;

  3. compile test code based on instrumented source code(instrumented class file of source code in fact);

  4. run unit test;

  5. build unit test and coverage report;

posted on 2014-03-18 08:10  leechau  阅读(76)  评论(0编辑  收藏  举报

导航