Fixed missing maxMutationsPerClass parameter

This commit is contained in:
Erik C. Thauvin 2024-05-27 16:15:40 -07:00
parent ec0998caa4
commit e7ed7edc30
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 23 additions and 2 deletions

View file

@ -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.
*