Workflow of Unit Test without Cobertura
-
compile source code;
-
compile test code;
-
run unit test;
Workflow of Uniit Test with Cobertura
-
compile source code;
-
instrument source code;
-
compile test code based on instrumented source code(instrumented class file of source code in fact);
-
run unit test;
-
build unit test and coverage report;