https://maven.apache.org/surefire/maven-surefire-plugin/usage.html
- Plugin to run all test cases together: maven-surefire-plugin
Maven commands:
-
mvn clean
-
mvn compile
-
mvn tests
Run a single Test File:
- mvn -Dtest=AppiumTest test
Profiles:
- mvn test -PRegression
- mvn test -PSmoke