Skip to content

Commit

Permalink
Added easy way to move to suite
Browse files Browse the repository at this point in the history
- Desciption how to move easily
  • Loading branch information
ingwarsw committed Nov 28, 2014
1 parent 4dabf0b commit eed56c6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,19 @@ To use domain to test classes you need to do few extra steps.

All of that + extra switching betweeen standalone/domain is done in that project itself.

# Easiest way to move to suite:

- Move all deployments to one class and make all your tests extend that class..
- If you have more than one deployment name them and add everywhere in your tests @OperateOnDeployment
- Check if everything is working
- Dont go further unless your tests are not working at that moment (probably will work much slower then normally)
- Add arquillian-suite as dependency
- Check if its working (should work slow as before)
- Add @ArquillianSuiteDeployment annotation on your deployment class
- Now check if your deployments deploy only once.

**That way if you will ever wonder if suite is failing your build only thing you will need to do is comment out @ArquillianSuiteDeployment and checks if its working then. If not its not suite related problem.**

# Extra info

## Credits
Expand Down

0 comments on commit eed56c6

Please sign in to comment.