-
Notifications
You must be signed in to change notification settings - Fork 355
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
Mutation testing (and reporting) across Maven modules #376
Comments
@NicoleRauch I don't know about Maven, but having your project migrated to Gradle it should be achievable in PIT plugin for Gradle. |
@szpak Thanks for the pointer! Unfortunately I cannot migrate to Gradle for various reasons, but good to see others have the same needs. Does anybody know whether it would somehow be possible to make the same mechanism work in Maven? |
@NicoleRauch please take a look at pitmp a plugin to target similar situations. |
@oscarlvp I tried to use it in order to solve my tree:
But pitmp didn't help (NullPointerException on PmpMojo.updateTargetClasses). Other ideas will be welcome. |
@AssafKatz3 Out of the main question, have you reported that issue in their issue tracker? Without that they definitely will not fix it (unless someone else report the same problem). |
@szpak Good idea, done, thanks |
In my the test code for some part of the production code is spread across several modules. PITest only mutation tests the code in each module by using the tests in that same module, not in the others. This way, the Mutation coverage (and also the line coverage) is useless because some tests are not considered.
To give you an example: We have modules
Is there a way to configure PIT to run the additional tests as well?
The text was updated successfully, but these errors were encountered: