Fixed missing maxMutationsPerClass parameter
This commit is contained in:
parent
ec0998caa4
commit
e7ed7edc30
2 changed files with 23 additions and 2 deletions
|
@ -592,6 +592,17 @@ public class PitestOperation extends AbstractProcessOperation<PitestOperation> {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Maximum number of surviving mutants to allow without throwing an error.
|
||||
*
|
||||
* @param maxMutationsPerClass the max number
|
||||
* @return this operation instance
|
||||
*/
|
||||
public PitestOperation maxMutationsPerClass(int maxMutationsPerClass) {
|
||||
options.put("--maxMutationsPerClass", String.valueOf(maxMutationsPerClass));
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Maximum number of surviving mutants to allow without throwing an error.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue