IMutationRequest
Properties
Section titled “Properties”accept?
Section titled “accept?”
readonlyoptionalaccept?:boolean
Write the measured score as the baseline, from a complete run.
acceptHint?
Section titled “acceptHint?”
readonlyoptionalacceptHint?:string
How to record a new baseline, in failure messages (your own command, say).
allowLowering?
Section titled “allowLowering?”
readonlyoptionalallowLowering?:boolean
With accept: allow the baseline to go down past the tolerance.
baselineFile?
Section titled “baselineFile?”
readonlyoptionalbaselineFile?:string
The baseline in the target package. Defaults to mutation-baseline.json.
changed?
Section titled “changed?”
readonlyoptionalchanged?: {baseRef?:string; } |null
A changed-line run against the merge base of HEAD and baseRef (default
DEFAULT_BASE_REF); absent or null for a whole-package run.
config?
Section titled “config?”
readonlyoptionalconfig?:string|null
A Stryker config other than the package’s own, relative to the package. A partial run: never judged.
configFile?
Section titled “configFile?”
readonlyoptionalconfigFile?:string
The Stryker config in the target package. Defaults to CONFIG_FILE.
dropTolerance?
Section titled “dropTolerance?”
readonlyoptionaldropTolerance?:number
Points under the baseline that still pass. Defaults to 1.
force?
Section titled “force?”
readonlyoptionalforce?:boolean
A record-only target: judge every mutant again instead of reusing the incremental file.
incremental?
Section titled “incremental?”
readonlyoptionalincremental?:boolean
A ratchet target: reuse the incremental file (the run is then not judged against the baseline).
ledgerFile?
Section titled “ledgerFile?”
readonlyoptionalledgerFile?:string
The ledger in the target package. Defaults to mutation-ledger.json.
neverMutate?
Section titled “neverMutate?”
readonlyoptionalneverMutate?: readonlystring[]
Repo-relative path prefixes a changed-line run never mutates. Defaults to none.
reportDir?
Section titled “reportDir?”
readonlyoptionalreportDir?:string
Where reports must live, repo-relative. Defaults to REPORT_DIR.
staleMargin?
Section titled “staleMargin?”
readonlyoptionalstaleMargin?:number
Points over the baseline before it is stale. Defaults to 2.
target
Section titled “target”
readonlytarget:IMutationTarget