public class CoverageAnalysis extends Object
CoverageAnalysis class.
| Constructor and Description |
|---|
CoverageAnalysis() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeCoverage()
Identify all JUnit tests starting with the given name prefix, instrument
and run tests
|
static Set<TestFitnessFunction> |
getCoveredGoals(Class<?> testClass,
List<TestFitnessFunction> allGoals)
Return the number of covered goals
|
static boolean |
isTest(Class<?> cls)
Determine if a class contains JUnit tests
|
protected static void |
reset() |
void |
run()
run
|
public static void analyzeCoverage()
public static Set<TestFitnessFunction> getCoveredGoals(Class<?> testClass, List<TestFitnessFunction> allGoals)
testClass - allGoals - public static boolean isTest(Class<?> cls)
cls - public void run()
run
protected static void reset()
Copyright © 2010–2017 EvoSuite. All rights reserved.