TestNGOptions

The TestNG specific test options.

Since

0.7

Constructors

Link copied to clipboard
@Inject
constructor(projectLayout: ProjectLayout)

Properties

Link copied to clipboard
Link copied to clipboard
The default config failure policy.
Link copied to clipboard
@get:Input
open var excludeGroups: Set<String>
Link copied to clipboard
Link copied to clipboard
@get:Input
open var includeGroups: Set<String>
Link copied to clipboard
open var listeners: Set<String>
Link copied to clipboard
Link copied to clipboard
@get:Nullable
open var parallel: String
Link copied to clipboard
Link copied to clipboard
open var suiteName: String
Link copied to clipboard
open var suiteXmlBuilder: MarkupBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var testName: String
Link copied to clipboard
open var threadCount: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun copyFrom(other: TestNGOptions)
Copies the options from the source options into the current one.
Link copied to clipboard
open fun excludeGroups(excludeGroups: Array<String>): TestNGOptions
Exclude groups.
Link copied to clipboard
open fun getSuites(testSuitesDir: File): List<File>
Returns the suites.
Link copied to clipboard
The number of XML suites will run parallel
Link copied to clipboard
open fun includeGroups(includeGroups: Array<String>): TestNGOptions
Include groups.
Link copied to clipboard
Indicates whether the tests should be grouped by instances.
Link copied to clipboard
Indicates whether the tests should be run in deterministic order.
Link copied to clipboard
Whether the default listeners and reporters should be used.
Link copied to clipboard
open fun methodMissing(name: String, args: Any): Any
Method missing.
Link copied to clipboard
open fun propertyMissing(name: String): Any
Property missing.
Link copied to clipboard
open fun suites(suiteFiles: Array<File>)
Add suite files by File objects.
open fun suites(suiteFiles: Array<String>)
Add suite files by Strings.
Link copied to clipboard
open fun suiteXmlBuilder(): MarkupBuilder
Suite xml builder.
Link copied to clipboard
open fun useDefaultListeners(useDefaultListeners: Boolean): TestNGOptions
Use default listeners.