Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove powermock #6439
Drop powermock completely and use a suppression list similar to pitest to manage uncovered code coverage or rewrite production code so just reflection can be used without mocking.
Like I stated above, I am thinking we need to forgo the 100% code coverage and just remove them completely.
I looked at some for another issue, and the ones I was seeing was to clear hard to hit catch exceptions, code in the middle of a method, and tests that would require us to have classes in weird packages. You can still call static/private methods with reflection.
Two of my examples was conflict between normal tests and powermock too. So it is not just pitest. No one wants to work with powermock.