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
Issue #7801: Resolve Pitest Issues - AvoidStaticImportCheck #7828
Conversation
@strkkk Sorry, totally missed that, but nevertheless I tested locally and had uploaded the pitest-report in the issue, the mutation is taken care of. Here is the link: https://gaurabdg.github.io/checkstyle-tester-reports/pitest/AvoidStaticImport-fixed/index.html |
src/test/java/com/puppycrawl/tools/checkstyle/checks/imports/AvoidStaticImportCheckTest.java
Show resolved
Hide resolved
src/test/java/com/puppycrawl/tools/checkstyle/checks/imports/AvoidStaticImportCheckTest.java
Outdated
Show resolved
Hide resolved
CI will fail if mutation is killed but left in file that only lists surviving mutants. The only thing that needs to be watched out for is CI passing and the file not being modified. Then this means the mutation was not killed and still survives. When this happens, the new test case that was added is not fulfilling its role that it was designed for. I will add a new step in the main issue for this, but you should post the new pitest report when you add the test case to show the mutation is actually being killed now as a final confirmation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything I have seen satisfies me. CI will find any remaining issues I would have.
I did it in the #7801 (comment):
|
Fixes #7801
Adds an UT for fixing the issue mentioned in #7801 (comment):