public class TestNGClassNameResultSeeker extends AbstractTestNGResultSeeker
Seeks for test results matching each TestNG Class name with the key custom field.
Skips TestNG Suite that were disabled.
| Modifier and Type | Class and Description |
|---|---|
static class |
TestNGClassNameResultSeeker.DescriptorImpl |
_parser, FAIL, PASS, SKIP, TEXT_XML_CONTENT_TYPEincludeNotes, includePattern, keyCustomField| Constructor and Description |
|---|
TestNGClassNameResultSeeker(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, setMarkSkippedTestAsBlockedall, allExcept, compareTo, getBase64FileContent, getDescriptor, getIncludePattern, getKeyCustomField, getKeyCustomField, isIncludeNotes, scan@DataBoundConstructor public TestNGClassNameResultSeeker(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
ResultSeekerSeeks 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 ResultSeekerautomatedTestCases - Automated test caseslistener - Build listener for loggingtestlink - TestLink site for updating test statusResultSeekerExceptionCopyright © 2010–2019 Jenkins. All rights reserved.