public class TestParserTask extends Task<TestParserTask,TestParserTaskProperties>
description, taskEnabled| Constructor and Description |
|---|
TestParserTask(TestParserTaskProperties.TestType testType)
Specify test parsing task that handles selected test engine.
|
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull TestParserTaskProperties |
build() |
static TestParserTask |
createJUnitParserTask()
Specify test parsing task that handles JUnit test results.
|
static TestParserTask |
createNUnitParserTask()
Specify test parsing task that handles NUnit test results.
|
static TestParserTask |
createTestNGParserTask()
Specify test parsing task that handles TestNG test results.
|
TestParserTask |
defaultResultDirectory()
Adds default directory to the list of directories in which task looks for test result files.
|
TestParserTaskProperties.TestType |
getTestType()
Gets test engine supported by this task.
|
TestParserTask |
pickUpTestResultsCreatedOutsideOfThisBuild(@Nullable Boolean pickUpTestResultsCreatedOutsideOfThisBuild)
Allows/disallows the task to scan test result files created before start time of the build.
|
TestParserTask |
resultDirectories(String... resultDirectories)
Adds directories from the argument to the list of directories in which task looks for test result files.
|
description, enabledpublic TestParserTask(TestParserTaskProperties.TestType testType)
public static TestParserTask createJUnitParserTask()
public static TestParserTask createTestNGParserTask()
public static TestParserTask createNUnitParserTask()
public TestParserTaskProperties.TestType getTestType()
public TestParserTask resultDirectories(@NotNull String... resultDirectories)
public TestParserTask defaultResultDirectory()
Default directory is defined depending on the selected test engine.
public TestParserTask pickUpTestResultsCreatedOutsideOfThisBuild(@Nullable @Nullable Boolean pickUpTestResultsCreatedOutsideOfThisBuild)
@NotNull protected @NotNull TestParserTaskProperties build()
build in class Task<TestParserTask,TestParserTaskProperties>Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.