Package | Description |
---|---|
hudson.tasks.junit |
Model objects that represent JUnit test reports.
|
hudson.tasks.test |
Defines contracts that need to be implemented by a test reporting
action (such as the built-in JUnit one).
|
Modifier and Type | Method and Description |
---|---|
void |
TestResult.parse(File reportFile,
PipelineTestDetails pipelineTestDetails)
Parses an additional report file.
|
void |
TestResult.parse(long buildTime,
org.apache.tools.ant.DirectoryScanner results,
PipelineTestDetails pipelineTestDetails)
Collect reports from the given
DirectoryScanner , while
filtering out all files that were created before the given time. |
void |
TestResult.parse(long buildTime,
File baseDir,
PipelineTestDetails pipelineTestDetails,
String[] reportFiles)
Collect reports from the given report files, while
filtering out all files that were created before the given time.
|
void |
TestResult.parse(long buildTime,
Iterable<File> reportFiles,
PipelineTestDetails pipelineTestDetails)
Collect reports from the given report files
|
static TestResultAction |
JUnitResultArchiver.parseAndAttach(JUnitTask task,
PipelineTestDetails pipelineTestDetails,
Run build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
|
static TestResultSummary |
JUnitResultArchiver.parseAndSummarize(JUnitTask task,
PipelineTestDetails pipelineTestDetails,
Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
TestResult |
JUnitParser.parseResult(String testResultLocations,
Run<?,?> build,
PipelineTestDetails pipelineTestDetails,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
TestResultSummary |
JUnitParser.summarizeResult(String testResultLocations,
Run<?,?> build,
PipelineTestDetails pipelineTestDetails,
FilePath workspace,
Launcher launcher,
TaskListener listener,
JunitTestResultStorage storage) |
Constructor and Description |
---|
SuiteResult(String name,
String stdout,
String stderr,
PipelineTestDetails pipelineTestDetails) |
TestResult(long buildTime,
org.apache.tools.ant.DirectoryScanner results,
boolean keepLongStdio,
PipelineTestDetails pipelineTestDetails)
Collect reports from the given
DirectoryScanner , while
filtering out all files that were created before the given time. |
Modifier and Type | Method and Description |
---|---|
TestResult |
TestResultParser.parseResult(String testResultLocations,
Run<?,?> run,
PipelineTestDetails pipelineTestDetails,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Parses the specified set of files and builds a
TestResult object that represents them. |
Copyright © 2016–2020. All rights reserved.