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?
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot