For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

useTestNG

open fun useTestNG()(source)

Specifies that TestNG should be used to discover and execute the tests.

Since

0.7

See also

Configure TestNG specific options.


open fun useTestNG(@DelegatesTo(value = TestNGOptions::class) testFrameworkConfigure: Closure)(source)

Specifies that TestNG should be used to discover and execute the tests with additional configuration.

The supplied action configures an instance of TestNG specific options.

Since

0.7

Parameters

testFrameworkConfigure

A closure used to configure TestNG options.


open fun useTestNG(testFrameworkConfigure: Action<in TestNGOptions>)(source)

Specifies that TestNG should be used to discover and execute the tests with additional configuration.

The supplied action configures an instance of TestNG specific options.

Since

3.5

Parameters

testFrameworkConfigure

An action used to configure TestNG options.