tester.addCoverageMetric(coverage[2]);
tester.addCoverageMetric(coverage[3]);
// Run test several times to draw line chart
for (int i = 0; i < stages.length; i++) {
tester.generate(stages[0]);
//System.out.println("DEBUG: Progress: " + stages[i] + "/" + mProject.getWalkLength());
mCoverage.setProgress(stages[i], mProject.getWalkLength());
// Update the line chart and repaint
mCoverage.addStateCoverage((int) coverage[0].getPercentage());
mCoverage.addTransitionCoverage((int) coverage[1].getPercentage());