Hi,
we have an web application. I have proceed wherein we have a application-clover.war, clover.jar and clover.db which is available after clover:instrument goal.
Please suggest how to deploy it in to a server and how do i execute the test cases in server.
We are using maven3.
Thanks in advance
Hi Khadeer,
I assume that your test server is located on a different machine than the build machine, am I right?
Steps in general are as follows:
1. You have to deploy your WAR containing instrumented classes. Use your standard procedure to do this.
2. You have to ensure that clover.db file(s) is(are) available on this server too. Just copy them to some location.
3. You have to ensure that these clover.db file(s) will be found by the application. There are several ways to achieve this:
4. After this, run your tests as usual.
5. After tests are finished, copy generated coverage files back to your build workspace and run clover:clover goal to generate reports.
See also:
https://confluence.atlassian.com/display/CLOVER/Using+Clover+for+web+applications
https://confluence.atlassian.com/display/CLOVER/Working+with+Distributed+Applications
https://confluence.atlassian.com/display/CLOVER/Using+Clover+in+various+environment+configurations
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.