-
Notifications
You must be signed in to change notification settings - Fork 75
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
Cobertura instrumentation Error #132
Comments
Thank you for the minimalized project! I've reproduced the problem. I'll take a closer look and let you know as soon as I know more. |
I've just released a new version for EqualsVerifier which fixes this issue. Check out the pull request on your minimized project! |
@jqno i checked fix in minimalized project and in checkstyle and now its working correctly, many thanks |
Cool! You're welcome, and thanks again for building the minimalized project, it saved soooo much time for me. I wish everybody did that :). |
Its probably the same problem as it was in #126, using EqualsVerifier with Powermock leads to problem that equals method and hashCode is not covered in cobertura. I minimalized problem to to this: i have one class:
and i want to test it with:
Running cobertura on this returns:
After looking at coverage report the equals method and hashCode is not covered. It is especially misleading in big projects because cobertura report builds succesfully, the output of command is large so you dont see error that was thrown in the middle of huge report. I prepared minimalized project in which this bug occures in https://github.com/liscju/CoberturaCoverageFailed , running it with
leads to error.
The text was updated successfully, but these errors were encountered: