I have unit tests and selenium integration-tests set up in my pom. I only want to run the integration tests when I run the code coverage with clover at the pre-site phase, but when I run the following maven command my integration tests run twice.
clean install site
I have the clover plugin attached to the pre-site phase so when it hits the pre-site the clover build and testing kicks off. This is fine. However the install phase is running through the default lifecycle and kicking off the pre-integration-test,integration-test and port-integration-test phases.
I know that the 'install' command is causing the problem as it runs all the phases pre-ceding the install phase as well but I cannot see anyway of getting the install command to 'skip' all three integration phases.
I can run the integration tests on their own using the 'integration-test' comamnd as I have different profiles set up to include/exclude unit tests/integration tests. Whenever I add the 'install' comamdn though I see the integration-tests running twice.
Does anyone have any ideas?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs