Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven cross module tests #1361

Merged
merged 4 commits into from
Nov 4, 2024
Merged

Maven cross module tests #1361

merged 4 commits into from
Nov 4, 2024

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Nov 4, 2024

Initial support for cross module tests in maven.

When the parameter <crossModule> is set for a maven module, pitest will now mutate both code defined within that module, and code defined within any module from the same project on which it depends.

The checks for empty tests and code are disabled.

If care is not taken, setting the crossModule flag will result in results being reported for the same class in more than one module. If report aggregation is used, the behaviour is currently undefined.

@hcoles hcoles changed the title Maven cross module Maven cross module test Nov 4, 2024
@hcoles hcoles changed the title Maven cross module test Maven cross module tests Nov 4, 2024
@hcoles hcoles force-pushed the feature/cross_module branch from 82bdbd2 to a94bd6a Compare November 4, 2024 11:26
@hcoles hcoles merged commit 4b7a7f5 into master Nov 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant