My projects has three kind of TestNG tests:
@Test(groups="A") // tests in group A @Test(groups="B") // tests in group B @Test // tests not assigned to a specific group
I’d like to configure gradle to run the tests in group A and the non-grouped tests but not the tests in group B.
test.options.includeGroups 'A' test.options.excludeGroups 'B'
But this configuration only runs the tests in group A and not the non-grouped tests.