We are using the Isomorphic WebDriver and JUnit Test to construct a regression environment for our Client UI which is based on SmartGWT 5.x release. In fact we consulted with you to set up the environment.
The issue we are facing now is how to collect Code Coverage, line and branch etc., where the Client UI code is a black box being exercised through the WebDriver.
We have looked at EclEMMA in eclipse and don't see how it can be used to instrument the Client UI, while running independent JUnit tests. We compile the Client UI, and either run it under Tomcat, or in eclipse which launches the server, and then run our tests with Firefox using a virtual frame buffer.
How do you recommend collecting Client UI code coverage in such an environment? Is it possible to also collect code coverage metrics on the Server side too, and if so how can this be achieved?
Sorry this is such a general question, and I see there have been other similar threads from 2012 in the Forum, but these were before you supported the WebDriver methodology (I believe).
Thanks
The issue we are facing now is how to collect Code Coverage, line and branch etc., where the Client UI code is a black box being exercised through the WebDriver.
We have looked at EclEMMA in eclipse and don't see how it can be used to instrument the Client UI, while running independent JUnit tests. We compile the Client UI, and either run it under Tomcat, or in eclipse which launches the server, and then run our tests with Firefox using a virtual frame buffer.
How do you recommend collecting Client UI code coverage in such an environment? Is it possible to also collect code coverage metrics on the Server side too, and if so how can this be achieved?
Sorry this is such a general question, and I see there have been other similar threads from 2012 in the Forum, but these were before you supported the WebDriver methodology (I believe).
Thanks
Comment