File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
main/java/rife/bld/extension Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,23 @@ public PitestOperation detectInlinedCode(boolean isDetectInlinedCode) {
283
283
return this ;
284
284
}
285
285
286
+ /**
287
+ * Whether to run in dry run mode.
288
+ * <p>
289
+ * Defaults to {@code false}
290
+ *
291
+ * @param isDryRun {@code true} or {@code false}
292
+ * @return this operation instance
293
+ */
294
+ public PitestOperation dryRun (boolean isDryRun ) {
295
+ if (isDryRun ) {
296
+ options_ .put ("--dryRun" , TRUE );
297
+ } else {
298
+ options_ .put ("--dryRun" , FALSE );
299
+ }
300
+ return this ;
301
+ }
302
+
286
303
/**
287
304
* List of globs to match against class names. Matching classes will be excluded from mutation.
288
305
*
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ void checkAllParameters() throws IOException {
77
77
.classPathFile (FOO )
78
78
.coverageThreshold (0 )
79
79
.detectInlinedCode (false )
80
+ .dryRun (false )
80
81
.excludedClasses ("class" )
81
82
.excludedClasses (List .of (FOO , BAR ))
82
83
.excludedGroups ("group" )
Original file line number Diff line number Diff line change 4
4
--classPathFile
5
5
--coverageThreshold
6
6
--detectInlinedCode
7
+ --dryRun
7
8
--excludedClasses
8
9
--excludedGroups
9
10
--excludedMethods
You can’t perform that action at this time.
0 commit comments