| 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(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(Map<String,?> environmentVariables)
Adds some environment variables to the environment for this process.
|
Test |
Test.environment(String name,
Object value)
Adds an environment variable to the environment for this process.
|
Test |
Test.exclude(Closure excludeSpec)
Adds an exclude spec.
|
Test |
Test.exclude(Iterable<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(String... excludes)
Adds exclude patterns for the files in the test classes directory (e.g.
|
Test |
Test.executable(Object executable)
Sets the name of the executable to use.
|
Test |
Test.include(Closure includeSpec)
Adds an include spec.
|
Test |
Test.include(Iterable<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(String... includes)
Adds include patterns for the files in the test classes directory (e.g.
|
Test |
Test.jvmArgs(Iterable<?> arguments)
Adds some arguments to use to launch the JVM for the process.
|
Test |
Test.jvmArgs(Object... arguments)
Adds some arguments to use to launch the JVM for the process.
|
Test |
Test.setExcludes(Iterable<String> excludes)
Sets the exclude patterns for test execution.
|
Test |
Test.setIncludes(Iterable<String> includes)
Sets the include patterns for test execution.
|
Test |
Test.systemProperties(Map<String,?> properties)
Adds some system properties to use for the process.
|
Test |
Test.systemProperty(String name,
Object value)
Adds a system property to use for the process.
|
Test |
Test.workingDir(Object dir)
Sets the working directory for the process.
|
Copyright © 2013. All rights reserved