Can I run all TestNG tests that do not belong to any group (in Maven)?

Or in an alternative wording:

Are tests in TestNG assigned to the default group, if no group is specified, and if so, what is the name of this group by default? (Yes, I read this post ).

I want to specify only the group for the TestNG test, if it is a special (integration, functional, research, very slow) test. I want unit tests to be clean from annotations. But I want to be able to run unit tests without explicit installation excludedGroupsfor all other groups (new ones can be added ..).

+5
source share
1 answer

According to JIRA, TESTNG-160 , try:

exclude="*"'
+1
source

All Articles