update POM with pitest - #26
Conversation
📝 WalkthroughWalkthroughAdds the PITest Maven plugin (org.pitest:pitest-maven:1.22.0) to the project's POM with the pitest-junit5-plugin dependency and configuration targeting classes and tests in the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@pom.xml`:
- Around line 138-150: The pitest-maven plugin configuration is missing the
pitest-junit5-plugin so PITest won't discover JUnit Jupiter tests; inside the
existing <plugin> for org.pitest:pitest-maven (the block containing
<targetClasses> and <targetTests>), add a <pluginDependencies> entry referencing
the pitest JUnit 5 adapter (groupId org.pitest, artifactId pitest-junit5-plugin)
with a version compatible with the pitest-maven version (ensure the
pluginDependency is nested under the pitest-maven <plugin> element) so mutation
testing can run JUnit 5 tests.
|
Since it is such a small update, I would suggest just adding the dependency provided by CodeRabbitAI and then it should be ready for approval. |
Summary by CodeRabbit