I wrote a REST server (in Java using RestEasy ) with a unit test package written in Scala. The test suite uses the breadboard server provided by RestEasy and runs with every Maven build.
I would like to create a second functional test suite that calls the real tomcat server and runs each REST service. I donβt want this new set to work with every assembly, but only on demand could have been controlled using the command line argument for Maven.
Is it possible to create several independent test suites in a Maven project and disable some of the automatic startup, or do I need to create a separate Maven project for this functional package? How can I separate function set code if these tests are in the same project as unit tests (different directories)? How to run the selected package with command line arguments?
Ralph source share