Test NG ' group' support within Gradle

(Lalith Jacob) #1

Based on a discussion with Peter Niederwieser, I would like to request support for Test NG ‘groups’ in the Gradle 1.0 release. Orbitz.com uses Test NG to run our integration and selenium-webdriver tests. In a short discussion with Peter Niederwieser we discovered that there might not be support for Test NG groups.

(Peter Niederwieser) #2

Actually this is already supported:

test {
  useTestNG {
    includeGroups "foo", "bar"

For other TestNG related configuration options, see: groovydoc:org.gradle.api.tasks.testing.testng.TestNGOptions

(Lalith Jacob) #3

Thanks for the reply Peter. Cheers!