public enum ThucydidesSystemProperty extends Enum<ThucydidesSystemProperty>
Enum Constant and Description |
---|
CHROME_SWITCHES
Arguments to be passed to the Chrome driver, separated by commas.
|
DASHBOARD_EXCLUDED_TAG_LIST
If set, this will define the list of tag types to be excluded from the dashboard screens
|
DASHBOARD_TAG_LIST
If set, this will define the list of tag types to appear on the dashboard screens
|
DRIVER
A shortcut for 'webdriver.driver'.
|
FIREFOX_PREFERENCES
Preferences to be passed to the Firefox driver, separated by semi-colons (commas often appear in the preference
values.
|
IGNORE_EMBEDDED_TABLES
If set to true, don't format embedded tables in JBehave or Gherkin steps.
|
JIRA_PASSWORD
If defined, the JIRA password required to connect to JIRA.
|
JIRA_PROJECT
If defined, the JIRA project id will be prepended to issue numbers.
|
JIRA_URL
If the base JIRA URL is defined, Thucydides will build the issue tracker url using the standard JIRA form.
|
JIRA_USERNAME
If defined, the JIRA username required to connect to JIRA.
|
NARRATIVE_FORMAT
If set to true, Asciidoc formatting will be supported in the narrative texts.
|
PHANTOMJS_BINARY_PATH
Path to PhantomJS executable
|
PHANTOMJS_WEBDRIVER_PORT
What port to run PhantomJS on (used in conjunction with webdriver.remote.url to
register with a Selenium hub, e.g.
|
PROPERTIES
Allows you to override the default thucydides.properties location for properties file.
|
REFUSE_UNTRUSTED_CERTIFICATES
Don't accept sites using untrusted certificates.
|
SAUCELABS_ACCESS_KEY
SauceLabs access key - if provided, Thucydides can generate links to the SauceLabs reports that don't require a login.
|
SAUCELABS_DRIVER_VERSION |
SAUCELABS_IMPLICIT_TIMEOUT
Override the default implicit timeout value for the Saucelabs driver.
|
SAUCELABS_RECORD_SCREENSHOTS
Saucelabs records screenshots as well as videos by default.
|
SAUCELABS_TARGET_PLATFORM |
SAUCELABS_TEST_NAME |
SAUCELABS_URL
SauceLabs URL if running the web tests on SauceLabs
|
SAUCELABS_USER_ID
SauceLabs user id - if provided with the access key,
Thucydides can generate links to the SauceLabs reports that don't require a login.
|
SECURITY_ENABLE_JAVA
Enable applets in Firefox.
|
SHOW_PIE_CHARTS
Display the pie charts on the dashboard by default.
|
SHOW_RELATED_TAGS
If set, this will display the related tag statistics on the home page.
|
TAGS
If provided, only classes and/or methods with tags in this list will be executed.
|
THUCYDIDES_ACTIVATE_FIREBUGS
Activate the Firebugs plugin for firefox.
|
THUCYDIDES_ACTIVATE_HIGHLIGHTING |
THUCYDIDES_ANNOTATED_REQUIREMENTS_DIR
Use this property if you need to completely override the location of requirements for the Annotated Provider.
|
THUCYDIDES_BATCH_COUNT
A deprecated property that is synonymous with thucydides.batch.size
|
THUCYDIDES_BATCH_NUMBER
If batch testing is being used, this is the number of the batch being run on this machine.
|
THUCYDIDES_BATCH_SIZE
If batch testing is being used, this is the size of the batches being executed.
|
THUCYDIDES_BATCH_STRATEGY
Batch strategy to use for parallel batches.
|
THUCYDIDES_BROWSER_HEIGHT
Redimension the browser to enable larger screenshots.
|
THUCYDIDES_BROWSER_WIDTH
Redimension the browser to enable larger screenshots.
|
THUCYDIDES_CONSOLE_HEADINGS
Write the console headings using ascii-art ("ascii", default value) or in normal text ("normal")
|
THUCYDIDES_CSV_EXTRA_COLUMNS
Add extra columns to the CSV output, obtained from tag values.
|
THUCYDIDES_DATA_DIR
The hierarchy of capability types.
|
THUCYDIDES_DRIVER_CAPABILITIES
A set of user-defined capabilities to be used to configure the WebDriver driver.
|
THUCYDIDES_ESTIMATED_AVERAGE_STEP_COUNT
The estimated number of steps in a pending scenario.
|
THUCYDIDES_ESTIMATED_TESTS_PER_REQUIREMENT
The estimated number of tests in a typical story.
|
THUCYDIDES_EXT_PACKAGES
Extension packages.
|
THUCYDIDES_FILE_IO_RETRY_TIMEOUT
Timeout (in seconds) for retrying file I/O.
|
THUCYDIDES_HISTORY
Base directory in which history files are stored.
|
THUCYDIDES_HOME
The home directory for Thucydides output and data files - by default, $USER_HOME/.thucydides
|
THUCYDIDES_ISSUE_TRACKER_URL
Base URL for the issue tracking system to be referred to in the reports.
|
THUCYDIDES_JQUERY_INTEGRATION
Enable JQuery integration.
|
THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS
If set to true, a copy of the original screenshot will be kept when screenshots are scaled for the reports.
|
THUCYDIDES_LOCATOR_FACTORY
Normally, Thucydides uses SmartElementLocatorFactory, an extension of the AjaxElementLocatorFactory
when instantiating page objects.
|
THUCYDIDES_LOGGING
Three levels are supported: QUIET, NORMAL and VERBOSE
|
THUCYDIDES_LOWEST_REQUIREMENT_TYPE
Determine what the lowest level requirement (test cases, feature files, story files, should be
called.
|
THUCYDIDES_MAINTAIN_SESSION
Keep the Thucydides session data between tests.
|
THUCYDIDES_NATIVE_EVENTS
Activate native events in Firefox.
|
THUCYDIDES_ONLY_SAVE_FAILING_SCREENSHOTS
Deprecated.
This property is still supported, but thucydides.take.screenshots provides more fine-grained control.
|
THUCYDIDES_OUTPUT_DIRECTORY
Where should reports be generated (use the system property 'thucydides.outputDirectory').
|
THUCYDIDES_PROJECT_KEY
A unique identifier for the project under test, used to record test statistics.
|
THUCYDIDES_PROJECT_NAME
What name should appear on the reports
|
THUCYDIDES_PROXY_HTTP
HTTP Proxy URL configuration for Firefox and PhantomJS
|
THUCYDIDES_PROXY_HTTP_PORT
HTTP Proxy port configuration for Firefox and PhantomJS
Use 'thucydides.proxy.http_port'
|
THUCYDIDES_PROXY_PASSWORD
HTTP Proxy password configuration for Firefox and PhantomJS
|
THUCYDIDES_PROXY_TYPE
HTTP Proxy type configuration for Firefox and PhantomJS
|
THUCYDIDES_PROXY_USER
HTTP Proxy username configuration for Firefox and PhantomJS
|
THUCYDIDES_PUBLIC_URL
Public URL where the Thucydides reports will be displayed.
|
THUCYDIDES_RELEASE_TYPES
What tag names identify the release types (e.g.
|
THUCYDIDES_REPORT_ENCODING
Encoding for reports output
|
THUCYDIDES_REPORT_FORMAT
Internal report format used when loading test outcome reports during aggregation - json or xml (xml by default)
|
THUCYDIDES_REPORT_RESOURCES
Indicates a directory from which the resources for the HTML reports should be copied.
|
THUCYDIDES_REPORT_SHOW_HISTORY |
THUCYDIDES_REPORT_SHOW_MANUAL_TESTS
Show statistics for manual tests in the test reports.
|
THUCYDIDES_REPORT_SHOW_PROGRESS |
THUCYDIDES_REPORT_SHOW_RELEASES
Report on releases
|
THUCYDIDES_REPORT_SHOW_TAG_MENUS |
THUCYDIDES_REPORTS_SHOW_STEP_DETAILS
Should Thucydides display detailed information in the test result tables.
|
THUCYDIDES_REQUIREMENT_EXCLUSIONS
When deriving requirement types from a path, exclude any values from this comma-separated list.
|
THUCYDIDES_REQUIREMENT_TYPES
The hierarchy of requirement types.
|
THUCYDIDES_REQUIREMENTS_DIR
Use this property if you need to completely override the location of requirements for the File System Provider.
|
THUCYDIDES_RESIZED_IMAGE_WIDTH
If set, resize screenshots to this size to save space.
|
THUCYDIDES_RESTART_BROWSER_FREQUENCY
Restart the browser every so often during data-driven tests.
|
THUCYDIDES_STEP_DELAY
Pause (in ms) between each test step.
|
THUCYDIDES_STORE_HTML_SOURCE
Set to true if you want the HTML source code to be recorded as well as the screenshots.
|
THUCYDIDES_TAKE_SCREENSHOTS
Fine-grained control over when screenshots are to be taken.
|
THUCYDIDES_TEST_REQUIREMENTS_BASEDIR
The base directory in which requirements are kept.
|
THUCYDIDES_TEST_ROOT
The root package for the tests in a given project.
|
THUCYDIDES_TIMEOUT
How long should the driver wait for elements not immediately visible, in seconds.
|
THUCYDIDES_USE_REQUIREMENTS_DIRECTORIES
By default, Thucydides will read requirements from the directory structure that contains the stories.
|
THUCYDIDES_USE_UNIQUE_BROWSER
Use the same browser for all tests (the "Highlander" rule)
|
THUCYDIDES_VERBOSE_SCREENSHOTS
Deprecated.
This property is still supported, but thucydides.take.screenshots provides more fine-grained control.
|
THUCYDIDES_VERBOSE_STEPS
If set to true, WebElementFacade events and other step actions will be logged to the console.
|
USE_TEST_CASE_FOR_STORY_TAG
If set to true (the default value), a story tag will be extracted from the test case or feature file
containing the test.
|
WEBDRIVER_BASE_URL
The default starting URL for the application, and base URL for relative paths.
|
WEBDRIVER_CHROME_DRIVER
Path to the Chrome driver, if it is not on the system path.
|
WEBDRIVER_DRIVER
The WebDriver driver - firefox, chrome, iexplorer, htmlunit, safari.
|
WEBDRIVER_FIREFOX_PROFILE
Full path to the Firefox profile to be used with Firefox.
|
WEBDRIVER_PROVIDED_TYPE
If using a provided driver, what type is it.
|
WEBDRIVER_REMOTE_BROWSER_VERSION |
WEBDRIVER_REMOTE_DRIVER
The driver to be used for remote drivers
|
WEBDRIVER_REMOTE_OS |
WEBDRIVER_REMOTE_URL
The URL to be used for remote drivers (including a selenium grid hub)
|
WEBDRIVER_TIMEOUTS_IMPLICITLYWAIT
How long webdriver waits for elements to appear by default, in milliseconds.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
Modifier and Type | Method and Description |
---|---|
String |
from(EnvironmentVariables environmentVariables) |
String |
from(EnvironmentVariables environmentVariables,
String defaultValue) |
String |
getPropertyName() |
boolean |
isDefinedIn(EnvironmentVariables environmentVariables) |
String |
toString() |
static ThucydidesSystemProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThucydidesSystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThucydidesSystemProperty WEBDRIVER_DRIVER
public static final ThucydidesSystemProperty DRIVER
public static final ThucydidesSystemProperty WEBDRIVER_PROVIDED_TYPE
public static final ThucydidesSystemProperty WEBDRIVER_BASE_URL
public static final ThucydidesSystemProperty WEBDRIVER_REMOTE_URL
public static final ThucydidesSystemProperty PHANTOMJS_WEBDRIVER_PORT
public static final ThucydidesSystemProperty WEBDRIVER_REMOTE_DRIVER
public static final ThucydidesSystemProperty WEBDRIVER_REMOTE_BROWSER_VERSION
public static final ThucydidesSystemProperty WEBDRIVER_REMOTE_OS
public static final ThucydidesSystemProperty WEBDRIVER_CHROME_DRIVER
public static final ThucydidesSystemProperty THUCYDIDES_PROJECT_KEY
public static final ThucydidesSystemProperty THUCYDIDES_PROJECT_NAME
public static final ThucydidesSystemProperty THUCYDIDES_HOME
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_RESOURCES
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_ENCODING
public static final ThucydidesSystemProperty THUCYDIDES_OUTPUT_DIRECTORY
public static final ThucydidesSystemProperty THUCYDIDES_ONLY_SAVE_FAILING_SCREENSHOTS
public static final ThucydidesSystemProperty THUCYDIDES_DRIVER_CAPABILITIES
public static final ThucydidesSystemProperty THUCYDIDES_VERBOSE_SCREENSHOTS
public static final ThucydidesSystemProperty THUCYDIDES_VERBOSE_STEPS
public static final ThucydidesSystemProperty THUCYDIDES_TAKE_SCREENSHOTS
public static final ThucydidesSystemProperty THUCYDIDES_REPORTS_SHOW_STEP_DETAILS
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_SHOW_MANUAL_TESTS
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_SHOW_RELEASES
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_SHOW_PROGRESS
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_SHOW_HISTORY
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_SHOW_TAG_MENUS
public static final ThucydidesSystemProperty THUCYDIDES_RESTART_BROWSER_FREQUENCY
public static final ThucydidesSystemProperty THUCYDIDES_STEP_DELAY
public static final ThucydidesSystemProperty THUCYDIDES_TIMEOUT
public static final ThucydidesSystemProperty REFUSE_UNTRUSTED_CERTIFICATES
public static final ThucydidesSystemProperty THUCYDIDES_USE_UNIQUE_BROWSER
public static final ThucydidesSystemProperty THUCYDIDES_ESTIMATED_AVERAGE_STEP_COUNT
public static final ThucydidesSystemProperty THUCYDIDES_ESTIMATED_TESTS_PER_REQUIREMENT
public static final ThucydidesSystemProperty THUCYDIDES_ISSUE_TRACKER_URL
public static final ThucydidesSystemProperty THUCYDIDES_NATIVE_EVENTS
public static final ThucydidesSystemProperty JIRA_URL
public static final ThucydidesSystemProperty JIRA_PROJECT
public static final ThucydidesSystemProperty JIRA_USERNAME
public static final ThucydidesSystemProperty JIRA_PASSWORD
public static final ThucydidesSystemProperty THUCYDIDES_HISTORY
public static final ThucydidesSystemProperty THUCYDIDES_BROWSER_HEIGHT
public static final ThucydidesSystemProperty THUCYDIDES_BROWSER_WIDTH
public static final ThucydidesSystemProperty THUCYDIDES_RESIZED_IMAGE_WIDTH
public static final ThucydidesSystemProperty THUCYDIDES_PUBLIC_URL
public static final ThucydidesSystemProperty THUCYDIDES_ACTIVATE_FIREBUGS
public static final ThucydidesSystemProperty SECURITY_ENABLE_JAVA
public static final ThucydidesSystemProperty THUCYDIDES_ACTIVATE_HIGHLIGHTING
public static final ThucydidesSystemProperty THUCYDIDES_BATCH_STRATEGY
public static final ThucydidesSystemProperty THUCYDIDES_BATCH_COUNT
public static final ThucydidesSystemProperty THUCYDIDES_BATCH_SIZE
public static final ThucydidesSystemProperty THUCYDIDES_BATCH_NUMBER
public static final ThucydidesSystemProperty THUCYDIDES_PROXY_HTTP
public static final ThucydidesSystemProperty THUCYDIDES_PROXY_HTTP_PORT
public static final ThucydidesSystemProperty THUCYDIDES_PROXY_TYPE
public static final ThucydidesSystemProperty THUCYDIDES_PROXY_USER
public static final ThucydidesSystemProperty THUCYDIDES_PROXY_PASSWORD
public static final ThucydidesSystemProperty WEBDRIVER_TIMEOUTS_IMPLICITLYWAIT
public static final ThucydidesSystemProperty THUCYDIDES_EXT_PACKAGES
public static final ThucydidesSystemProperty CHROME_SWITCHES
public static final ThucydidesSystemProperty FIREFOX_PREFERENCES
public static final ThucydidesSystemProperty WEBDRIVER_FIREFOX_PROFILE
public static final ThucydidesSystemProperty THUCYDIDES_JQUERY_INTEGRATION
public static final ThucydidesSystemProperty SAUCELABS_TARGET_PLATFORM
public static final ThucydidesSystemProperty SAUCELABS_DRIVER_VERSION
public static final ThucydidesSystemProperty SAUCELABS_TEST_NAME
public static final ThucydidesSystemProperty SAUCELABS_URL
public static final ThucydidesSystemProperty SAUCELABS_ACCESS_KEY
public static final ThucydidesSystemProperty SAUCELABS_USER_ID
public static final ThucydidesSystemProperty SAUCELABS_IMPLICIT_TIMEOUT
public static final ThucydidesSystemProperty SAUCELABS_RECORD_SCREENSHOTS
public static final ThucydidesSystemProperty THUCYDIDES_FILE_IO_RETRY_TIMEOUT
public static final ThucydidesSystemProperty THUCYDIDES_LOGGING
public static final ThucydidesSystemProperty THUCYDIDES_TEST_ROOT
public static final ThucydidesSystemProperty THUCYDIDES_REQUIREMENTS_DIR
public static final ThucydidesSystemProperty THUCYDIDES_USE_REQUIREMENTS_DIRECTORIES
public static final ThucydidesSystemProperty THUCYDIDES_ANNOTATED_REQUIREMENTS_DIR
public static final ThucydidesSystemProperty THUCYDIDES_LOWEST_REQUIREMENT_TYPE
public static final ThucydidesSystemProperty THUCYDIDES_REQUIREMENT_TYPES
public static final ThucydidesSystemProperty THUCYDIDES_REQUIREMENT_EXCLUSIONS
public static final ThucydidesSystemProperty THUCYDIDES_RELEASE_TYPES
public static final ThucydidesSystemProperty THUCYDIDES_LOCATOR_FACTORY
public static final ThucydidesSystemProperty THUCYDIDES_DATA_DIR
public static final ThucydidesSystemProperty PROPERTIES
public static final ThucydidesSystemProperty THUCYDIDES_TEST_REQUIREMENTS_BASEDIR
public static final ThucydidesSystemProperty THUCYDIDES_STORE_HTML_SOURCE
public static final ThucydidesSystemProperty THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS
public static final ThucydidesSystemProperty TAGS
public static final ThucydidesSystemProperty THUCYDIDES_CSV_EXTRA_COLUMNS
public static final ThucydidesSystemProperty THUCYDIDES_CONSOLE_HEADINGS
public static final ThucydidesSystemProperty NARRATIVE_FORMAT
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_FORMAT
public static final ThucydidesSystemProperty PHANTOMJS_BINARY_PATH
public static final ThucydidesSystemProperty IGNORE_EMBEDDED_TABLES
public static final ThucydidesSystemProperty SHOW_RELATED_TAGS
public static final ThucydidesSystemProperty USE_TEST_CASE_FOR_STORY_TAG
public static final ThucydidesSystemProperty SHOW_PIE_CHARTS
public static final ThucydidesSystemProperty DASHBOARD_TAG_LIST
public static final ThucydidesSystemProperty DASHBOARD_EXCLUDED_TAG_LIST
public static final ThucydidesSystemProperty THUCYDIDES_MAINTAIN_SESSION
public static final int DEFAULT_HEIGHT
public static final int DEFAULT_WIDTH
public static ThucydidesSystemProperty[] values()
for (ThucydidesSystemProperty c : ThucydidesSystemProperty.values()) System.out.println(c);
public static ThucydidesSystemProperty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getPropertyName()
public String toString()
toString
in class Enum<ThucydidesSystemProperty>
public String from(EnvironmentVariables environmentVariables)
public String from(EnvironmentVariables environmentVariables, String defaultValue)
public boolean isDefinedIn(EnvironmentVariables environmentVariables)
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.