Tuesday, September 7, 2010

Problem of collecting GWT client Code coverage

We are trying to use the emma library to measure the code coverage of gwt client code, our test case is driven by Selenium RC.

But we observed that some event handler code is never covered although we are pretty sure the event is triggered and handled.

We did some hack to GWT source code and add some print code at com.google.gwt.dev.shell.EmmaStrategy.java.

It is surprising that the PreinstrumentedEmmaStrategy did not select the emma instrumented class sometimes, because the timestamp check failed.

(source code is newer than the instrumented code).

I suspect there is some bug there, but I am not sure.






--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment