public class TestParserTask extends Task<TestParserTask,TestParserTaskProperties>
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
TestParserTask(TestParserTaskProperties.TestType testType)
Specify test parsing task that handles selected test engine.
|
Modifier and Type | Method and Description |
---|---|
protected TestParserTaskProperties |
build() |
static TestParserTask |
createJUnitParserTask()
Specify test parsing task that handles JUnit test results.
|
static TestParserTask |
createMochaParserTask()
Specify test parsing task that handles test results of Mocha executed with 'mocha-bamboo-reporter'.
|
static TestParserTask |
createMSTestParserTask()
Specify test parsing task that handles mstest 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.
|
boolean |
equals(Object o) |
TestParserTaskProperties.TestType |
getTestType()
Gets test engine supported by this task.
|
int |
hashCode() |
TestParserTask |
pickUpTestResultsCreatedOutsideOfThisBuild(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.
|
conditions, description, enabled, requirements, toString
public TestParserTask(TestParserTaskProperties.TestType testType)
public static TestParserTask createJUnitParserTask()
public static TestParserTask createTestNGParserTask()
public static TestParserTask createNUnitParserTask()
public static TestParserTask createMochaParserTask()
public static TestParserTask createMSTestParserTask()
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 Boolean pickUpTestResultsCreatedOutsideOfThisBuild)
@NotNull protected TestParserTaskProperties build()
build
in class Task<TestParserTask,TestParserTaskProperties>
public boolean equals(Object o)
equals
in class Task<TestParserTask,TestParserTaskProperties>
public int hashCode()
hashCode
in class Task<TestParserTask,TestParserTaskProperties>
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.