I have several testng test groups, e.g. group1,group2,group3... These are defined in my pom.xml and all get run when I execute \"mvn test\". What do I need to run to only e
You can include and exclude specific group during maven test execution.
(1) Include Specific Groups
mvn clean test -DincludeGroups=TestGroup1,TestGroup2
(2) Exclude Specific Groups
mvn clean test -DexcludeGroups=TestGroup3,TestGroup4