public class AllureConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
attachmentFileRegex |
protected String |
attachmentFileSuffix |
protected Charset |
attachmentsEncoding |
static int |
DEFAULT_MAX_TITLE_LENGTH |
protected static File |
DEFAULT_RESULTS_DIRECTORY |
protected String |
environmentPropertiesFileRegex |
protected String |
environmentXmlFileRegex |
protected String |
issueTrackerPattern
Pattern containing issue tracker base URL and one %s placeholder which will be replaced by issue name.
|
protected int |
maxTitleLength |
protected String |
removeAttachments |
protected File |
resultsDirectory |
protected String |
schemaFileName |
protected boolean |
testNgParametersEnabled |
protected String |
testSuiteFileExtension |
protected String |
testSuiteFileRegex |
protected String |
testSuiteFileSuffix |
protected String |
tmsPattern
Pattern containing Test Management System (TMS) and one %s placeholder which will be replaced by test id.
|
protected String |
version |
| Constructor and Description |
|---|
AllureConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areTestNgParametersEnabled() |
String |
getAttachmentFileRegex() |
String |
getAttachmentFileSuffix() |
Charset |
getAttachmentsEncoding() |
static File |
getDefaultResultsDirectory() |
String |
getEnvironmentPropertiesFileRegex() |
String |
getEnvironmentXmlFileRegex() |
String |
getIssueTrackerPattern() |
int |
getMaxTitleLength() |
String |
getRemoveAttachments() |
File |
getResultsDirectory() |
String |
getSchemaFileName() |
String |
getTestSuiteFileExtension() |
String |
getTestSuiteFileRegex() |
String |
getTestSuiteFileSuffix() |
String |
getTmsPattern() |
String |
getVersion() |
static AllureConfig |
newInstance() |
void |
setResultsDirectory(File resultsDirectory)
For tests only
|
protected static final File DEFAULT_RESULTS_DIRECTORY
public static final int DEFAULT_MAX_TITLE_LENGTH
protected String schemaFileName
protected String removeAttachments
protected String testSuiteFileRegex
protected String testSuiteFileSuffix
protected String testSuiteFileExtension
protected String attachmentFileRegex
protected String attachmentFileSuffix
protected String environmentXmlFileRegex
protected String environmentPropertiesFileRegex
protected File resultsDirectory
protected Charset attachmentsEncoding
protected int maxTitleLength
protected String issueTrackerPattern
protected String tmsPattern
protected boolean testNgParametersEnabled
protected String version
public static AllureConfig newInstance()
public String getSchemaFileName()
public String getRemoveAttachments()
public String getTestSuiteFileRegex()
public String getTestSuiteFileSuffix()
public String getTestSuiteFileExtension()
public String getAttachmentFileRegex()
public String getAttachmentFileSuffix()
public String getEnvironmentXmlFileRegex()
public String getEnvironmentPropertiesFileRegex()
public File getResultsDirectory()
public Charset getAttachmentsEncoding()
public int getMaxTitleLength()
public String getIssueTrackerPattern()
public String getTmsPattern()
public boolean areTestNgParametersEnabled()
public String getVersion()
public void setResultsDirectory(File resultsDirectory)
public static File getDefaultResultsDirectory()
Copyright © 2017 Yandex. All rights reserved.