pitest-descartes icon indicating copy to clipboard operation
pitest-descartes copied to clipboard

False positive in xwiki-platform-rendering-macro-python

Open vmassol opened this issue 4 years ago • 2 comments

Hi @oscarlvp

Seems we might have hit a new false positive in xwiki-platform-rendering-macro-python. A few days ago we made changes to the code (and test) at https://github.com/xwiki/xwiki-platform/commit/ff57d35e5dfb0128142150c53d13a92f805fc600

This broke our build with:

`[ERROR] Failed to execute goal org.pitest:pitest-maven:1.4.10:mutationCoverage (pitest-check) on project xwiki-platform-rendering-macro-python: Mutation score of 0 is below threshold of 100``

However we couldn't understand 2 things:

  1. The pitest says that 0 tests are found (before and now) so we don't understand how it could have had 100% mutation score
  2. Why it suddenly started reporting 0%

So I compared the execution before and after the commit and we get what's on the screenshot.

Screenshot 2020-02-26 at 09 56 09

The null part seems weird. WDYT?

Thanks

vmassol avatar Feb 26 '20 09:02 vmassol

Hi @vmassol Did you change the PIT version and/or the version of the Junit 5 plugin?

oscarlvp avatar Feb 27 '20 13:02 oscarlvp

Hi @vmassol Did you change the PIT version and/or the version of the Junit 5 plugin?

@oscarlvp Hi. I didn't change any version of PIT/Descartes nor JUnit5 plugin.

vmassol avatar Feb 27 '20 14:02 vmassol