MutantResult
Single mutation.
Value parameters
- coveredBy
-
The test ids that covered this mutant. If a mutation testing framework doesn't measure this information, it can simply be left out.
- description
-
Description of the applied mutation.
- id
-
Unique id, can be used to correlate this mutant with other reports.
- killedBy
-
The test ids that killed this mutant. It is a best practice to "bail" on first failing test, in which case you can fill this array with that one test.
- location
-
A location with start and end. Start is inclusive, end is exclusive.
- mutatorName
-
Category of the mutation.
- replacement
-
Actual mutation that has been applied.
- static
-
A static mutant means that it was loaded once at during initialization, this makes it slow or even impossible to test, depending on the mutation testing framework.
- status
-
Result of the mutation.
- statusReason
-
The reason that this mutant has this status. In the case of a killed mutant, this should be filled with the failure message(s) of the failing tests. In case of an error mutant, this should be filled with the error message.
- testsCompleted
-
The number of tests actually completed in order to test this mutant. Can differ from
coveredBy
because of bailing a mutant test run after first failing test.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any