STAMP-project / pitest-descartes

Descartes supports developers to improve their test suites by reporting weak spots in covered code
https://hal.archives-ouvertes.fr/hal-01870976/document
GNU Lesser General Public License v3.0
126 stars 21 forks source link

add support for breaking the build if at least one pseudo-tested exists #142

Closed monperrus closed 3 years ago

monperrus commented 4 years ago

We want to break the build if at least one pseudo-tested method exists.

Today, to break the build in CI based on Descartes, we need to write additional imperative code that analyzes the JSON file produced by Descartes.

It would be great to be able to simplify this, by configuring the pom.xml and break the build if at least one pseudo-tested method exists.

This would be similar what jacoco is doing to break the build based on coverage info, see https://www.jacoco.org/jacoco/trunk/doc/check-mojo.html

And its usage in Spoon: https://github.com/INRIA/spoon/pull/3641/files

oscarlvp commented 4 years ago

Duplicate of #68

oscarlvp commented 3 years ago

Closing duplicate