public class TestNGSuiteNameResultSeeker extends AbstractTestNGResultSeeker
Seeks for test results matching each TestNG Suite name with the key custom field.
Skips TestNG Suite that were disabled.
Modifier and Type | Class and Description |
---|---|
static class |
TestNGSuiteNameResultSeeker.DescriptorImpl |
_parser, FAIL, PASS, SKIP, TEXT_XML_CONTENT_TYPE
includeNotes, includePattern, keyCustomField
Constructor and Description |
---|
TestNGSuiteNameResultSeeker(String includePattern,
String keyCustomField,
boolean attachTestNGXML,
boolean markSkippedTestAsBlocked,
boolean includeNotes) |
Modifier and Type | Method and Description |
---|---|
void |
seek(TestCaseWrapper[] automatedTestCases,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
TestLinkSite testlink)
Seeks for Test Results in a directory.
|
getParser, handleResult, isAttachTestNGXML, isMarkSkippedTestAsBlocked, setAttachTestNGXML, setMarkSkippedTestAsBlocked
all, allExcept, compareTo, getBase64FileContent, getDescriptor, getIncludePattern, getKeyCustomField, getKeyCustomField, isIncludeNotes, scan
@DataBoundConstructor public TestNGSuiteNameResultSeeker(String includePattern, String keyCustomField, boolean attachTestNGXML, boolean markSkippedTestAsBlocked, boolean includeNotes)
includePattern
- keyCustomField
- attachTestNGXML
- markSkippedTestAsBlocked
- public void seek(TestCaseWrapper[] automatedTestCases, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, TestLinkSite testlink) throws ResultSeekerException
ResultSeeker
Seeks for Test Results in a directory. It tries to match the includePattern with files in this directory.
It looks for results using the include pattern, but this value is matched within the workspace. It means that your result files have to be relative to your workspace.
For each result found, it is automatically updated in TestLink, and the Report is updated.
seek
in class ResultSeeker
automatedTestCases
- Automated test caseslistener
- Build listener for loggingtestlink
- TestLink site for updating test statusResultSeekerException
Copyright © 2010–2019 Jenkins. All rights reserved.