Can I exclude a specific testng test group via maven?

Viewed 4638
 mvn test -Dgroups=group3,group2

Will execute groups3 and groups2 - as per Can I run a specific testng test group via maven?

I want to run all test that are not in a group. Is this possible through maven? E.g. I want to run all test that are not in group3.

"pseudo maven command" mvn test -Dgroups!=group3

2 Answers
Related