public interface TestGenerationResult extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
TestGenerationResult.Status |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassUnderTest()
Class that was tested
|
String |
getComment(String name)
Comment for that test
|
Set<Failure> |
getContractViolations(String name)
Map from test method to ContractViolation
|
Set<BranchInfo> |
getCoveredBranches()
Branches covered by final test suite
|
Set<BranchInfo> |
getCoveredBranches(String name) |
Set<Integer> |
getCoveredLines()
Lines covered by final test suite
|
Set<Integer> |
getCoveredLines(String name)
Lines covered by test
|
Set<MutationInfo> |
getCoveredMutants()
Mutants detected by final test suite
|
Set<MutationInfo> |
getCoveredMutants(String name) |
String |
getErrorMessage()
If there was an error, this contains the error message
|
Set<MutationInfo> |
getExceptionMutants() |
GeneticAlgorithm<?> |
getGeneticAlgorithm()
The entire GA in its final state
|
double |
getTargetCoverage(FitnessFunction<?> function)
Coverage level of the target criterion
|
String[] |
getTargetCriterion()
Target coverage criterion used to create this test suite
|
TestCase |
getTestCase(String name)
Map from test method to EvoSuite test case
|
String |
getTestCode(String name)
Map from test method to EvoSuite test case
|
TestGenerationResult.Status |
getTestGenerationStatus()
Did test generation succeed?
|
String |
getTestSuiteCode()
JUnit test suite source code
|
Set<BranchInfo> |
getUncoveredBranches()
Branches not covered by final test suite
|
Set<Integer> |
getUncoveredLines()
Lines not covered by final test suite
|
Set<MutationInfo> |
getUncoveredMutants()
Mutants not detected by final test suite
|
TestGenerationResult.Status getTestGenerationStatus()
String getErrorMessage()
GeneticAlgorithm<?> getGeneticAlgorithm()
Set<Failure> getContractViolations(String name)
String getClassUnderTest()
String[] getTargetCriterion()
double getTargetCoverage(FitnessFunction<?> function)
String getTestSuiteCode()
Set<BranchInfo> getCoveredBranches(String name)
Set<MutationInfo> getCoveredMutants(String name)
Set<MutationInfo> getExceptionMutants()
Set<BranchInfo> getCoveredBranches()
Set<MutationInfo> getCoveredMutants()
Set<BranchInfo> getUncoveredBranches()
Set<MutationInfo> getUncoveredMutants()
Copyright © 2010–2017 EvoSuite. All rights reserved.