On Monday, March 26, 2012 2:47:49 PM UTC+2, Sun Raise wrote:
>
> Hi, 
>
> I am using GWT client side project. 
>
> I am interesting selenium automated test case in my project. 
>
> For code coverage i want to use cobertura. 
>
>
> How to configure these 2 tools in gwt client ? 
>
> Its it possible or not ?
>

AFAIK, only EMMA (a *patched* version of EMMA) can be used for measuring 
code coverage in client code.
See 
https://developers.google.com/web-toolkit/doc/latest/DevGuideTestingCoverage

As for Selenium, I'm sorry, I never took the time to use it. IIUC, you'd 
have to launch the DevMode with EMMA-enhanced classes, and then point your 
browser (controlled by Selenium) to it to run the tests.

If you use Maven, you'd launch the DevMode in the pre-integration-test 
phase and run the selenium tests in the integration-test phase; then stop 
the DevMode in the post-integration-test phase and process the EMMA reports 
and test reports in the verify phase. The gwt-maven-plugin could have 
helped you launch the DevMode, but AFAIK it's blocking, so it actually 
won't help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/A6C1R3e4MnIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to