pitest / pitclipse

Mutation testing for Java in Eclipse IDE. Based on PIT (Pitest).
https://pitest.org
Apache License 2.0
59 stars 17 forks source link

[WIP] Upgrade Pitest to 1.15.8 #224

Open echebbi opened 5 months ago

echebbi commented 5 months ago

Closes #221 by upgrading Pitest to 1.15.8

This upgrade comes with several API breaking changes. A notable change is the removal of several "research-oriented" mutators from PIT and which are now wrapped in a dedicated PIT plug-in. See https://github.com/hcoles/pitest/pull/993 for the changes and https://github.com/pitest/pitclipse/issues/221#issuecomment-2017872771 for our decision to discard those mutators for now.

LorenzoBettini commented 5 months ago

@echebbi I created https://github.com/pitest/pitclipse/pull/226 and build is green. Please have a look and merge it if you're OK with that.

I tried to cherry pick some of your commits but of you course you should expect merging conflicts.

I wonder if some of the failures I see in your builds (unbound Java 1.8 classpath container) might be due to Java 21 not supporting Java 8 anymore. In any case, I think the main build should be with Java 17 and we could have another build testing that, at least the runtime tests are green.

echebbi commented 5 months ago

Finally a green build 🎉@LorenzoBettini thanks for your help :) I'm not 100% confident regarding the new mutators/groups set and the current results though. I think we should take some time to make sure everything is ok before merging.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

LorenzoBettini commented 4 months ago

@echebbi shall we merge this and release?

LorenzoBettini commented 3 months ago

@echebbi shall we merge this and release?