-
Notifications
You must be signed in to change notification settings - Fork 365
Description
I would like to be able to run a command like the following mvn <goal> org.pitest:pitest-maven:mutationCoverage -DskipTests
I need (or want) to use skipTests because otherwise my goal would run the tests, but I don't want to waste cycles running tests twice, as pitest will run them anyway for me. And right now running this command would skip both running the tests and pitest.
So I would like to introduce another flag, say pitestIgnoreSkipTests, that when enable would ignore the skipTests flag. So running mvn <goal> org.pitest:pitest-maven:mutationCoverage -DskipTests -DpitestIgnoreSkipTests would:
- skip the tests running
<goal>but - not skip pitest
I know that this is not necessarily ideal, and might ago against some of maven's philosophy, but unfortunately not all project can follow strictly the rules, nor is it easy to fix projects with "history".
PS: I'm happy to create a PR for this and I'll look into doing so if that sounds like something reasonable.