-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ability to run all mutants by running the config
- Loading branch information
Showing
3 changed files
with
23 additions
and
17 deletions.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
src/main/kotlin/com/blackfireweb/stryker/run/StrykerConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
package com.blackfireweb.stryker.run | ||
|
||
val MUTANT_PROTOCOL = "stryker-mutant" | ||
val MUTANT_PROTOCOL = "stryker-mutant" | ||
|
||
fun isConfigFile(name: String): Boolean { | ||
return when { | ||
name.endsWith("stryker.conf.js") -> true | ||
name.endsWith("stryker.conf.ts") -> true | ||
name.endsWith("stryker.conf.json") -> true | ||
else -> false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters