You can actually use JaCoCo with GWT but test coverage is not 100% correct. 
I do it through Gradle in a small private project. However some lines that 
a test do hit are not detected by JaCoCo. So reported coverage is less than 
it should be. Thats probably what the patched emma has corrected.

To make JaCoCo work with GWT you need to start JaCoCo with the classdumpdir 
parameter which causes JaCoCo to dump all class files into a directory of 
your choice before GWT's compiling classloader sees and rewrites them.
To generate the coverage report you must then use the classes of the 
classdumpdir.

That strategy is pretty much the same as in 
https://github.com/errai/jacoco-gwt-maven-plugin 


-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/1e203958-88b8-4081-8161-aacc023d9e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to