I'm using Webdriver to test UI of our webapp.
I configured Maven to run jacoco agent on a forked Jetty JVM that runs our webapp.
The report includes coverage only for the server code. The client code, however, shows 0% in all modules, and I would like to know if anyone knows how I can configure Jacoco to calculate coverage for the client as well.
Thank you!
The client was created with SmartGWT and the context it runs in is JS through the browser.
I understand that I get only the server coverage because the client does not run on the Jetty JVM (which the Jacoco agent is attached to).
Is there a way to use Jacoco in this context?
I know there are other tools out there (JSCoverage, js-test-driver or using PhantomJS), but I want to combine Jacoco so I can merge its report to the server results (as well as other modules) to have a complete coverage summary during the continuous integration build, without having different reports from different tools.
Thanks for your fast reply,
Yoed
Thanks again for your support!
I'll have to turn to JS coverage tools...
Regards,
Yoed