public class MochaParserTask extends Task<MochaParserTask,MochaParserTaskProperties>
For convenience, it's advised to use MochaRunnerTask which is capable of both executing tests and parsing
test results. MochaParserTask should only be used if the tests were executed in a different manner.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TEST_FILE_PATTERN |
description, taskEnabled| Constructor and Description |
|---|
MochaParserTask() |
| Modifier and Type | Method and Description |
|---|---|
protected MochaParserTaskProperties |
build() |
MochaParserTask |
pickUpTestResultsCreatedOutsideOfThisBuild(boolean pickUpTestResultsCreatedOutsideOfThisBuild)
When set to true, files created before the current build was started will be analyzed as valid tests results.
|
MochaParserTask |
testFilePattern(String testFilePattern)
Ant-style pattern of test results file to parse.
|
MochaParserTask |
workingSubdirectory(String workingSubdirectory)
Specify an alternative subdirectory as working directory for the task.
|
description, enabledpublic static final String DEFAULT_TEST_FILE_PATTERN
public MochaParserTask testFilePattern(@NotNull String testFilePattern)
public MochaParserTask workingSubdirectory(@Nullable String workingSubdirectory)
public MochaParserTask pickUpTestResultsCreatedOutsideOfThisBuild(boolean pickUpTestResultsCreatedOutsideOfThisBuild)
@NotNull protected MochaParserTaskProperties build()
build in class Task<MochaParserTask,MochaParserTaskProperties>Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.