@PublicApi
public interface TestCollationService
| Modifier and Type | Method and Description |
|---|---|
void |
collateTestResults(TaskContext taskContext,
String filePattern)
Collates
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default. |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
boolean pickupOutdatedFiles)
Collates
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default. |
void |
collateTestResults(TaskContext taskContext,
String resultDirectory,
String filePattern,
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles)
Collates
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formats |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
TestReportCollector testReportCollector)
Collates
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formats |
void |
collateTestResults(TaskContext taskContext,
String filePattern,
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles) |
void |
collateTestResults(TaskContext taskContext,
TestReportProvider testReportProvider)
|
void collateTestResults(@NotNull
TaskContext taskContext,
@NotNull
String filePattern)
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default.
To implement support for an alternate reporting format see collateTestResults(TaskContext, String, TestReportCollector)taskContext - of the executing TaskfilePattern - to collect from the file systemvoid collateTestResults(@NotNull
TaskContext taskContext,
@NotNull
String filePattern,
boolean pickupOutdatedFiles)
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
This method parses in the JUnit format by default.
To implement support for an alternate reporting format see collateTestResults(TaskContext, String, TestReportCollector)taskContext - of the executing TaskfilePattern - to collect from the file systempickupOutdatedFiles - does not check test files timestampvoid collateTestResults(@NotNull
TaskContext taskContext,
@NotNull
String filePattern,
@NotNull
TestReportCollector testReportCollector)
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formatstaskContext - of the executing TaskfilePattern - to collect from the file systemtestReportCollector - to collect tests using the provided patternvoid collateTestResults(@NotNull
TaskContext taskContext,
@Nullable
String resultDirectory,
@NotNull
String filePattern,
@NotNull
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles)
TestClassResults and TestCaseResults from TaskContext.getRootDirectory() using the specified file pattern
You can implement your own TestReportCollector and pass it in to support other reporting formatstaskContext - of the executing TaskresultDirectory - directory to look for result files in. Can be relative to task working directory or absolute. If blank, task working directory is used.filePattern - to collect from the file systemtestReportCollector - to collect tests using the provided patternpickupOutdatedFiles - does not check test files timestampvoid collateTestResults(@NotNull
TaskContext taskContext,
@NotNull
String filePattern,
@NotNull
TestReportCollector testReportCollector,
boolean pickupOutdatedFiles)
@ExperimentalApi
void collateTestResults(@NotNull
TaskContext taskContext,
@NotNull
TestReportProvider testReportProvider)
taskContext - of the executing TasktestReportProvider - to collect tests fromCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.