We're revamping our test framework for Usergrid, and we're evaluating Arquillian. I like it better than cargo, because it integrates better with the IDE to make development easier. However, I need to perform the following.
Run a process that wipes Cassandra and ES (might not be necessary if we use a new temp dir every time)
Start tomcat and deploy our application
It's clear to me how to deploy our webapp to tomcat via Arquillian, but our integration tests need Cassandra and Elastic Search to start before the deployment to the container. Are there any example of doing this that I can look at to learn from?