Builds test setup options.
| Constructor and description |
|---|
TestOptions
(org.gradle.api.Project project, Set<String> configurations)Construct a new TestOptions. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
TestOptions |
getAndFunctionalTests()Adds on application of the builder to functional tests. |
|
TestOptions |
getAndIntegrationTests()Adds on application of the builder to integration tests. |
|
TestOptions |
getAndTests()Adds on application of the builder to unit tests, |
|
void |
useJUnitPlatform()Declares that the given test configurations should use JUnit Jupiter. |
|
void |
useJUnitPlatform(org.gradle.api.Action<? super org.gradle.api.tasks.testing.testng.TestNGOptions> testFrameworkConfigure)Declares that the given test configurations should use JUnit Jupiter. |
|
void |
useJUnitPlatform(Closure testFrameworkConfigure)Declares that the given test configurations should use JUnit Jupiter. |
|
void |
useTestNG()Declares that the given test configurations should use TestNG. |
|
void |
useTestNG(org.gradle.api.Action<? super org.gradle.api.tasks.testing.testng.TestNGOptions> testFrameworkConfigure)Declares that the given test configurations should use TestNG. |
|
void |
useTestNG(Closure testFrameworkConfigure)Declares that the given test configurations should use TestNG. |
Adds on application of the builder to functional tests.
Adds on application of the builder to integration tests.
Adds on application of the builder to unit tests,
Declares that the given test configurations should use JUnit Jupiter.
Declares that the given test configurations should use JUnit Jupiter.
testFrameworkConfigure - the test framework configuration closure.Declares that the given test configurations should use JUnit Jupiter.
testFrameworkConfigure - the test framework configuration closure.Declares that the given test configurations should use TestNG.
Declares that the given test configurations should use TestNG.
testFrameworkConfigure - the test framework configuration closure.Declares that the given test configurations should use TestNG.
testFrameworkConfigure - the test framework configuration closure.Copyright © 2019 John Stewart. All rights reserved.