public class TestNGMethodNameDataProviderNameResultSeeker extends AbstractTestNGResultSeeker
Seeks for test results matching each TestNG Method name and its Data Provider name with key custom fields.
Skips TestNG Method that were disabled.
Modifier and Type | Class and Description |
---|---|
static class |
TestNGMethodNameDataProviderNameResultSeeker.DescriptorImpl |
_parser, FAIL, PASS, SKIP, TEXT_XML_CONTENT_TYPE
includeNotes, includePattern, keyCustomField
Constructor and Description |
---|
TestNGMethodNameDataProviderNameResultSeeker(String includePattern,
String keyCustomField,
boolean attachTestNGXML,
boolean markSkippedTestAsBlocked,
String dataProviderNameKeyCustomField,
boolean includeNotes) |
Modifier and Type | Method and Description |
---|---|
String |
getDataProviderNameKeyCustomField() |
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 TestNGMethodNameDataProviderNameResultSeeker(String includePattern, String keyCustomField, boolean attachTestNGXML, boolean markSkippedTestAsBlocked, String dataProviderNameKeyCustomField, boolean includeNotes)
includePattern
- keyCustomField
- attachTestNGXML
- markSkippedTestAsBlocked
- dataProviderNameKeyCustomField
- public String getDataProviderNameKeyCustomField()
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.