Closed EhsanMashhadi closed 3 years ago
Hi,
yes, you need to look at the class ExecutionResult
. Assuming you are working at the test case level (e.g., using MOSA or DynaMOSA), a chromosome is an instance of the TestChromosome
class.
Assuming you want to check the method covered by each test case, you can use the following method to retrieve all covered data, including covered methods:
chromosome.getLastExecutionResult().getTrace().getCoveredMethods()
where chromosome
is an object of the TestChromosome
class.
Best, Annibale
Hi,
Is there any way to get the method argument values of
coveredMethods
field ofExecutionResult
ingetFitness
function?Thanks