| Package | Description |
|---|---|
| org.gradle.api.internal.tasks.testing.detection | |
| org.gradle.api.internal.tasks.testing.junit | |
| org.gradle.api.internal.tasks.testing.testng | |
| org.gradle.api.tasks.testing |
The unit testing
Task implementations. |
| Modifier and Type | Method and Description |
|---|---|
void |
TestExecuter.execute(Test testTask,
TestResultProcessor testResultProcessor) |
void |
DefaultTestExecuter.execute(Test testTask,
TestResultProcessor testResultProcessor) |
| Constructor and Description |
|---|
JUnitTestFramework(Test testTask) |
| Constructor and Description |
|---|
TestNGTestFramework(Test testTask) |
| Modifier and Type | Method and Description |
|---|---|
Test |
Test.bootstrapClasspath(java.lang.Object... classpath)
Adds the given values to the end of the bootstrap classpath for the process.
|
Test |
Test.copyTo(JavaForkOptions target)
Copies these options to the given options.
|
Test |
Test.copyTo(ProcessForkOptions target)
Copies these options to the given target options.
|
Test |
Test.environment(java.util.Map<java.lang.String,?> environmentVariables)
Adds some environment variables to the environment for this process.
|
Test |
Test.environment(java.lang.String name,
java.lang.Object value)
Adds an environment variable to the environment for this process.
|
Test |
Test.exclude(Closure excludeSpec)
Adds an exclude spec.
|
Test |
Test.exclude(java.lang.Iterable<java.lang.String> excludes)
Adds exclude patterns for the files in the test classes directory (e.g.
|
Test |
Test.exclude(Spec<FileTreeElement> excludeSpec)
Adds an exclude spec.
|
Test |
Test.exclude(java.lang.String... excludes)
Adds exclude patterns for the files in the test classes directory (e.g.
|
Test |
Test.executable(java.lang.Object executable)
Sets the name of the executable to use.
|
Test |
Test.include(Closure includeSpec)
Adds an include spec.
|
Test |
Test.include(java.lang.Iterable<java.lang.String> includes)
Adds include patterns for the files in the test classes directory (e.g.
|
Test |
Test.include(Spec<FileTreeElement> includeSpec)
Adds an include spec.
|
Test |
Test.include(java.lang.String... includes)
Adds include patterns for the files in the test classes directory (e.g.
|
Test |
Test.jvmArgs(java.lang.Iterable<?> arguments)
Adds some arguments to use to launch the JVM for the process.
|
Test |
Test.jvmArgs(java.lang.Object... arguments)
Adds some arguments to use to launch the JVM for the process.
|
Test |
Test.setExcludes(java.lang.Iterable<java.lang.String> excludes)
Sets the exclude patterns for test execution.
|
Test |
Test.setIncludes(java.lang.Iterable<java.lang.String> includes)
Sets the include patterns for test execution.
|
Test |
Test.systemProperties(java.util.Map<java.lang.String,?> properties)
Adds some system properties to use for the process.
|
Test |
Test.systemProperty(java.lang.String name,
java.lang.Object value)
Adds a system property to use for the process.
|
Test |
Test.workingDir(java.lang.Object dir)
Sets the working directory for the process.
|
Copyright © 2013. All rights reserved