Skip to content
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

Provide an example in the samples or documentation for doing code coverage #69

Open
JonCook opened this issue Jun 27, 2017 · 1 comment

Comments

@JonCook
Copy link

JonCook commented Jun 27, 2017

Please provide an example through documentation or sample project or in this issue of how to do code coverage using gwtmockito and specifically with GwtMockitoTestRunner. I've read the issue #65 and clearly there are some problems with jacoco and I've tried the offline instrumentation and it doesn't work. We happen to be using Ant but I don't mind how you do the example.

I don't mind the solution or framework if it is emma, cobertura or some other idea. Custom jar or command line etc..

If it is not possible then unfortunately this library doesn't have any real use or purpose as code coverage metrics are nowadays mandatory in most places.

Thanks

@JonCook
Copy link
Author

JonCook commented Jun 30, 2017

Maybe the solution is to go to PowerMock who are addressing this problem. Perhaps it could be possible to use bytebuddy as well from GWTMockito??
https://github.com/powermock/powermock/wiki/Code-coverage-with-JaCoCo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant