I'm orchestrating the starting of an embedded Jetty in a @BeforeSuite method (TestNG). The same test invocation is coordinating a WebDriver instance for automated clicking of the web application being tested.
I'm like to be able to similarly instantiate the JSCover proxy in the @BeforeSuite method, and in an @AfterSuite method collect the coverage result, and spit out XML/txt for later reporting.
How to do that?
Is jscover.Main the class I need to be inspired by - the whole lifecycle apparent in there?
I'm orchestrating the starting of an embedded Jetty in a @BeforeSuite method (TestNG). The same test invocation is coordinating a WebDriver instance for automated clicking of the web application being tested.
I'm like to be able to similarly instantiate the JSCover proxy in the @BeforeSuite method, and in an @AfterSuite method collect the coverage result, and spit out XML/txt for later reporting.
How to do that?
Is jscover.Main the class I need to be inspired by - the whole lifecycle apparent in there?