borinquenkid opened a new pull request, #16819:
URL: https://github.com/apache/grails-core/pull/16819
### Summary of Changes
- **PITest Support in `build-logic`**:
- Added `grailsCodeAnalysis.enablePitest()` opt-in and
`-Pgrails.code-analysis.enabled.pitest[.projects]` overrides in
`GrailsCodeAnalysisPlugin` and `GrailsCodeAnalysisExtension`.
- Auto-configures the `pitest` task when invoked directly on the command
line (e.g., `./gradlew :<module>:pitest`).
- Pre-excludes Groovy compiler-generated synthetic methods
(`$getStaticMetaClass`, `getMetaClass`, `setMetaClass`, `invokeMethod`,
`getProperty`, `setProperty`, `$getLookup`, `pfget$*`, `pfset$*`, `super$*`,
`this$*`), closure classes (`*$_closure*`, `*$_*`), and runtime call sites.
- Supports command-line class/test scoping via
`-Pgrails.code-analysis.pitest.targetClasses`,
`-Pgrails.code-analysis.pitest.targetTests`,
`-Pgrails.code-analysis.pitest.threads`, and
`-Pgrails.code-analysis.pitest.mutators`.
- **Specifications**:
- Extended `GrailsCodeAnalysisPluginSpec` to verify PITest opt-in, CLI
property overrides, and Groovy synthetic exclusions.
- **Agent Skill**:
- Added `.agents/skills/mutation-testing/SKILL.md` and updated skill
indexes in `AGENTS.md`, `.agents/skills/README.md`, and
`.agents/skills/test-fixer/SKILL.md`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]