gradle
8.4

# useTestNG

abstract fun useTestNG()(source)

Use the TestNG testing framework.

Gradle will provide the version of TestNG to use. Defaults to version `7.4.0`

abstract fun useTestNG(version: String)(source)

Use the TestNG testing framework with a specific version.

#### Parameters

version

version of TestNG to use

abstract fun useTestNG(version: Provider<String>)(source)

Use the TestNG testing framework with a specific version.

#### Parameters

version

provider supplying the version of TestNG to use