I have a web application packaged in .war archive. It also contains unit test classes. I want to deploy this application on different machines and each time run test from the command line. How can I do this taking into account that tests are in .war? I use Tomcat7. I do not consider usage of Ant.
Thank you!