You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm setting up pitest in java 21 and gradle repo. I have a test failing without mutation, that normally passes green when it's triggered without pitest.
Exception in thread "main" org.pitest.help.PitHelpError: 1 tests did not pass without mutation when calculating line coverage. Mutation testing requires a green suite.
See https://pitest.org for more details.
at org.pitest.coverage.execute.DefaultCoverageGenerator.verifyBuildSuitableForMutationTesting(DefaultCoverageGenerator.java:127)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:109)
at org.pitest.coverage.execute.DefaultCoverageGenerator.calculateCoverage(DefaultCoverageGenerator.java:53)
at org.pitest.mutationtest.tooling.MutationCoverage.runAnalysis(MutationCoverage.java:149)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:136)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:136)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:63)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:98)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
I wanted to debug it's execution with pitest, but I'm not sure how to do it.
I'm using the following extension config, but breakpoints are not working in the test's code:
I've seen in existing issue that it's possible to debug the test execution by minion (separate jvm process?), could you please share how to do it? @szpak
The text was updated successfully, but these errors were encountered:
Hi!
I'm setting up pitest in java 21 and gradle repo. I have a test failing without mutation, that normally passes green when it's triggered without pitest.
I wanted to debug it's execution with pitest, but I'm not sure how to do it.
I'm using the following extension config, but breakpoints are not working in the test's code:
I've seen in existing issue that it's possible to debug the test execution by minion (separate jvm process?), could you please share how to do it?
@szpak
The text was updated successfully, but these errors were encountered: