`atlas-mvn verify` doesn't load default test data like `atlas-integration-test` for confluence

My experience and articles like https://developer.atlassian.com/docs/getting-started/writing-and-running-plugin-tests/create-test-data-and-a-test-fixture suggest that most `atlas-FOO` methods will pull down a minimal set of test data for each product, enough to skip the new product install pages (in memory DB, basic license key, etc)

  When you first start the application and load your plugin, 
the atlas- commands download the specified <productDataVersion>,
unzip it, and use it to seed the PLUGIN_HOME/target/application/home directory.




However, running `mvn integration-test` is a discouraged practice, because post-integtation-test phase is never called, and might have important tear-down instructions bound to it.   Instead you should run `mvn verify` which runs IT and post-IT lifecycle phases.

http://maven.apache.org/surefire/maven-failsafe-plugin/

NOTE: when running integration tests, you should invoke Maven with the (shorter to type too)

mvn verify
rather than trying to invoke the integration-test phase directly, as otherwise the post-integration-test phase will not be executed.

 

However it seems for confluence specifically that running `atlas-mvn verify` does not load any test data, and my ITs are blocked at a "select database type" page.

 

This is only an issue for confluence, all other products seem to load typical plugin defaults.

 

JIRA loads fine

Screen Shot 2017-05-11 at 1.32.24 PM.png

Confluence wants full setupScreen Shot 2017-05-11 at 1.33.16 PM.png

 

 

Screen Shot 2017-05-11 at 1.34.42 PM.png

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

677 views 2 13
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you