Rule
record in io.mutastic.api
record Rule(boolean mutate, String target, String reason)A project’s own decision, from mutastic.yaml: skip the mutants in some code, or mutate code a
built-in filter would skip as arid, with the reason.
Components
mutate | mutate:, else skip: |
|---|---|
target | a class or method pattern: com.acme.generated.** (any depth), * (one name), com.acme.Money#toString (one method) |
Methods
covers
boolean covers(String className, String method)Whether the rule covers method method of class className (com.acme.Money).
written
String written()skip: com.acme.generated.**, as the rule was written.