-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven goal to fail build #68
Comments
Hi @bbaudry, this feature is addressed by @nicolabertazzo within issue #22. I guess this issue can be closed. |
For the record, from duplicate #142
|
How does this prioritize for you @oscarlvp? |
@monperrus this is a feature that maybe should not be added to Descartes as a PIT plugin. It might better be implemented outside, for example in PitMP or a dedicated Maven plugin. At the moment I see no way to make the build fail from the code of the PIT plugin that works well for all build systems. |
Hi Oscar, I understand your point, it's not the responsibility of Descartes, it's the responsibility of the mutation testing driver PIT or PitMP. It seems that PIT supports this:
What's your opinion on having this working with Descartes in conjunction? |
This is the simplest option. However, it works with the number of mutants, and not with the method classification. You may not have any pseudo-tested methods but still have live mutants in partially-tested methods. But if that suites your goal, then it is the simplest solution. |
Let's try this first in Spoon an see how it works and scales. Then we'll refine. Would you write a wrap-up on what configuration to write to do this (Descartes line threshold + Pit break the build)? Thanks! |
There should be parameters fo fail build
The text was updated successfully, but these errors were encountered: