A single JUnit test can be run by specifying the class name(s):
mvn -Dtest=LazyObjectRetrieverTest,Functional*Tests testA single JUnit test can be run by specifying the class name(s):
mvn -Dtest=LazyObjectRetrieverTest,Functional*Tests testRun integration tests with this Maven command, using the UAT and CHROME profiles:
$mvn integration-test -P UAT,CHROME
For more information on running integration tests with Maven see the
Maven Failsafe Plugin documentation
See this guide for more information on Maven Failsafe Plugin
integration test naming conventions:
http://maven.apache.org/surefire/maven-failsafe-plugin/examples/inclusion-exclusion.html
See this Maven POM for an example of using custom names for Unit and Integration test classes .