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,
hudson.model.Run build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
TestResult |
JUnitParser.parseResult(String testResultLocations,
hudson.model.Run<?,?> build,
PipelineTestDetails pipelineTestDetails,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
Constructor and Description |
---|
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,
hudson.model.Run<?,?> run,
PipelineTestDetails pipelineTestDetails,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Parses the specified set of files and builds a
TestResult object that represents them. |
Copyright © 2016–2018. All rights reserved.