net.thucydides.core
Enum ThucydidesSystemProperty

Package class diagram package ThucydidesSystemProperty
java.lang.Object
  extended by java.lang.Enum<ThucydidesSystemProperty>
      extended by net.thucydides.core.ThucydidesSystemProperty
All Implemented Interfaces:
Serializable, Comparable<ThucydidesSystemProperty>

public enum ThucydidesSystemProperty
extends Enum<ThucydidesSystemProperty>

Properties that can be passed to a web driver test to customize its behaviour. This class is mainly for internal use.

Author:
johnsmart

Enum Constant Summary
ACTIVATE_FIREBUGS
          Activate the Firebugs plugin for firefox.
ACTIVTE_HIGHLIGHTING
           
ANNOTATED_REQUIREMENTS_DIRECTORY
          Use this property if you need to completely override the location of requirements for the Annotated Provider.
BASE_URL
          The default starting URL for the application, and base URL for relative paths.
BATCH_COUNT
          A deprecated property that is synonymous with thucydides.batch.size
BATCH_NUMBER
          If batch testing is being used, this is the number of the batch being run on this machine.
BATCH_SIZE
          If batch testing is being used, this is the size of the batches being executed.
BATCH_STRATEGY
          Batch strategy to use for parallel batches.
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
DATA_DIRECTORY
          The hierarchy of capability types.
DRIVER
          The WebDriver driver - firefox, chrome, iexplorer, htmlunit, safari.
DRIVER_CAPABILITIES
          A set of user-defined capabilities to be used to configure the WebDriver driver.
ELEMENT_TIMEOUT
          How long should the driver wait for elements not immediately visible, in seconds.
ESTIMATED_AVERAGE_STEP_COUNT
          The estimated number of steps in a pending scenario.
ESTIMATED_TESTS_PER_REQUIREMENT
          The estimated number of tests in a typical story.
EXTENSION_PACKAGES
          Extension packages.
FILE_IO_RETRY_TIMEOUT
          Timeout (in seconds) for retrying file I/O.
FIREFOX_PREFERENCES
          Preferences to be passed to the Firefox driver, separated by semi-colons (commas often appear in the preference values.
FIREFOX_PROFILE
          Full path to the Firefox profile to be used with Firefox.
HISTORY_BASE_DIRECTORY
          Base directory in which history files are stored.
IGNORE_EMBEDDED_TABLES
          If set to true, don't format embedded tables in JBehave or Gherkin steps.
ISSUE_TRACKER_URL
          Base URL for the issue tracking system to be referred to in the reports.
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.
JQUERY_INTEGRATION
          Enable JQuery integration.
LOCATOR_FACTORY
          Normally, Thucydides uses SmartElementLocatorFactory, an extension of the AjaxElementLocatorFactory when instantiating page objects.
LOGGING
          Three levels are supported: QUIET, NORMAL and VERBOSE
LOWEST_REQUIREMENT_TYPE
          Determine what the lowest level requirement (test cases, feature files, story files, should be called.
NATIVE_EVENTS
          Activate native events in Firefox.
ONLY_SAVE_FAILING_SCREENSHOTS
          Should Thucydides only store screenshots for failing steps? This can save disk space and speed up the tests somewhat.
OUTPUT_DIRECTORY
          Where should reports be generated.
PHANTOMJS_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.
PROJECT_KEY
          A unique identifier for the project under test, used to record test statistics.
PROPERTIES
          Allows you to override the default thucydides.properties location for properties file.
PROVIDED_DRIVER_TYPE
          If using a provided driver, what type is it.
PROXY_PASSWORD
          HTTP Proxy password configuration for Firefox and PhantomJS
PROXY_PORT
          HTTP Proxy port configuration for Firefox and PhantomJS
PROXY_TYPE
          HTTP Proxy type configuration for Firefox and PhantomJS
PROXY_URL
          HTTP Proxy URL configuration for Firefox and PhantomJS
PROXY_USER
          HTTP Proxy username configuration for Firefox and PhantomJS
PUBLIC_URL
          Public URL where the Thucydides reports will be displayed.
RECORD_STATISTICS
          Record test result statistics in a database for reporting purposes.
REFUSE_UNTRUSTED_CERTIFICATES
          Don't accept sites using untrusted certificates.
RELEASE_TYPES
          What tag names identify the release types (e.g.
REMOTE_DRIVER
          The driver to be used for remote drivers
REMOTE_URL
          The URL to be used for remote drivers (including a selenium grid hub)
REPORT_RESOURCE_PATH
          Indicates a directory from which the resources for the HTML reports should be copied.
REQUIREMENT_EXCLUSIONS
          When deriving requirement types from a path, exclude any values from this comma-separated list.
REQUIREMENT_TYPES
          The hierarchy of requirement types.
REQUIREMENTS_DIRECTORY
          Use this property if you need to completely override the location of requirements for the File System Provider.
RESIZED_WIDTH
          If set, resize screenshots to this size to save space.
RESTART_BROWSER_FREQUENCY
          Restart the browser every so often during data-driven tests.
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_STEP_DETAILS
          Should Thucydides display detailed information in the test result tables.
SNAPSHOT_HEIGHT
          Redimension the browser to enable larger screenshots.
SNAPSHOT_WIDTH
          Redimension the browser to enable larger screenshots.
STATISTICS_DIALECT
           
STATISTICS_DRIVER
           
STATISTICS_PASSWORD
           
STATISTICS_URL
           
STATISTICS_USERNAME
           
STEP_DELAY
          Pause (in ms) between each test step.
TAGS
          If provided, only classes and/or methods with tags in this list will be executed.
TEST_REQUIREMENTS_ROOT
          The base directory in which requirements are kept.
THUCYDIDES_CONSOLE_HEADINGS
          Write the console headings using ascii-art ("ascii", default value) or in normal text ("normal")
THUCYDIDES_DATABASE_JDBC_OPTIONS
          Additional options to be added to the JDBC connection for the default file-based database.
THUCYDIDES_EXTRA_COLUMNS
          Add extra columns to the CSV output, obtained from tag values.
THUCYDIDES_HOME
          The home directory for Thucydides output and data files - by default, $USER_HOME/.thucydides
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_NARRATIVE_FORMAT
          If set to true, Asciidoc formatting will be supported in the narrative texts.
THUCYDIDES_REPORT_FORMAT
          Internal report format used when loading test outcome reports during aggregation - json or xml (xml by default)
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_ROOT
          The root package for the tests in a given project.
TIMEOUTS_IMPLICIT_WAIT
          How long webdriver waits for elements to appear by default, in milliseconds.
UNIQUE_BROWSER
          Use the same browser for all tests (the "Highlander" rule)
VERBOSE_SCREENSHOTS
          Should Thucydides take screenshots for every clicked button and every selected link? By default, a screenshot will be stored at the start and end of each step.
VERBOSE_STEPS
          If set to true, WebElementFacade events and other step actions will be logged to the console.
 
Field Summary
static int DEFAULT_HEIGHT
           
static int DEFAULT_WIDTH
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DRIVER

public static final ThucydidesSystemProperty DRIVER
The WebDriver driver - firefox, chrome, iexplorer, htmlunit, safari.


PROVIDED_DRIVER_TYPE

public static final ThucydidesSystemProperty PROVIDED_DRIVER_TYPE
If using a provided driver, what type is it. The implementation class needs to be defined in the webdriver.provided.{type} system property.


BASE_URL

public static final ThucydidesSystemProperty BASE_URL
The default starting URL for the application, and base URL for relative paths.


REMOTE_URL

public static final ThucydidesSystemProperty REMOTE_URL
The URL to be used for remote drivers (including a selenium grid hub)


PHANTOMJS_WEBDRIVER_PORT

public static final ThucydidesSystemProperty PHANTOMJS_WEBDRIVER_PORT
What port to run PhantomJS on (used in conjunction with webdriver.remote.url to register with a Selenium hub, e.g. -Dphantomjs.webdriver=5555 -Dwebdriver.remote.url=http://localhost:4444


REMOTE_DRIVER

public static final ThucydidesSystemProperty REMOTE_DRIVER
The driver to be used for remote drivers


PROJECT_KEY

public static final ThucydidesSystemProperty PROJECT_KEY
A unique identifier for the project under test, used to record test statistics.


THUCYDIDES_HOME

public static final ThucydidesSystemProperty THUCYDIDES_HOME
The home directory for Thucydides output and data files - by default, $USER_HOME/.thucydides


THUCYDIDES_DATABASE_JDBC_OPTIONS

public static final ThucydidesSystemProperty THUCYDIDES_DATABASE_JDBC_OPTIONS
Additional options to be added to the JDBC connection for the default file-based database.


RECORD_STATISTICS

public static final ThucydidesSystemProperty RECORD_STATISTICS
Record test result statistics in a database for reporting purposes.


REPORT_RESOURCE_PATH

public static final ThucydidesSystemProperty REPORT_RESOURCE_PATH
Indicates a directory from which the resources for the HTML reports should be copied. This directory currently needs to be provided in a JAR file.


OUTPUT_DIRECTORY

public static final ThucydidesSystemProperty OUTPUT_DIRECTORY
Where should reports be generated.


ONLY_SAVE_FAILING_SCREENSHOTS

public static final ThucydidesSystemProperty ONLY_SAVE_FAILING_SCREENSHOTS
Should Thucydides only store screenshots for failing steps? This can save disk space and speed up the tests somewhat. Useful for data-driven testing.


DRIVER_CAPABILITIES

public static final ThucydidesSystemProperty DRIVER_CAPABILITIES
A set of user-defined capabilities to be used to configure the WebDriver driver. Capabilities should be passed in as a semi-colon-separated list of key:value pairs, e.g. "build:build-1234; max-duration:300; single-window:true; tags:[tag1,tag2,tag3]"


VERBOSE_SCREENSHOTS

public static final ThucydidesSystemProperty VERBOSE_SCREENSHOTS
Should Thucydides take screenshots for every clicked button and every selected link? By default, a screenshot will be stored at the start and end of each step. If this option is set to true, Thucydides will record screenshots for any action performed on a WebElementFacade, i.e. any time you use an expression like element(...).click(), findBy(...).click() and so on. This will be overridden if the ONLY_SAVE_FAILING_SCREENSHOTS option is set to true.


VERBOSE_STEPS

public static final ThucydidesSystemProperty VERBOSE_STEPS
If set to true, WebElementFacade events and other step actions will be logged to the console.


THUCYDIDES_TAKE_SCREENSHOTS

public static final ThucydidesSystemProperty THUCYDIDES_TAKE_SCREENSHOTS
Fine-grained control over when screenshots are to be taken. This property accepts the following values:


SHOW_STEP_DETAILS

public static final ThucydidesSystemProperty SHOW_STEP_DETAILS
Should Thucydides display detailed information in the test result tables. If this is set to true, test result tables will display a breakdown of the steps by result. This is false by default.


RESTART_BROWSER_FREQUENCY

public static final ThucydidesSystemProperty RESTART_BROWSER_FREQUENCY
Restart the browser every so often during data-driven tests.


STEP_DELAY

public static final ThucydidesSystemProperty STEP_DELAY
Pause (in ms) between each test step.


ELEMENT_TIMEOUT

public static final ThucydidesSystemProperty ELEMENT_TIMEOUT
How long should the driver wait for elements not immediately visible, in seconds.


REFUSE_UNTRUSTED_CERTIFICATES

public static final ThucydidesSystemProperty REFUSE_UNTRUSTED_CERTIFICATES
Don't accept sites using untrusted certificates. By default, Thucydides accepts untrusted certificates - use this to change this behaviour.


UNIQUE_BROWSER

public static final ThucydidesSystemProperty UNIQUE_BROWSER
Use the same browser for all tests (the "Highlander" rule)


ESTIMATED_AVERAGE_STEP_COUNT

public static final ThucydidesSystemProperty ESTIMATED_AVERAGE_STEP_COUNT
The estimated number of steps in a pending scenario. This is used for stories where no scenarios have been defined.


ESTIMATED_TESTS_PER_REQUIREMENT

public static final ThucydidesSystemProperty ESTIMATED_TESTS_PER_REQUIREMENT
The estimated number of tests in a typical story. Used to estimate functional coverage in the requirements reports.


ISSUE_TRACKER_URL

public static final ThucydidesSystemProperty ISSUE_TRACKER_URL
Base URL for the issue tracking system to be referred to in the reports. If defined, any issues quoted in the form #1234 will be linked to the relevant issue in the issue tracking system. Works with JIRA, Trac etc.


NATIVE_EVENTS

public static final ThucydidesSystemProperty NATIVE_EVENTS
Activate native events in Firefox. This is true by default, but can cause issues with some versions of linux.


JIRA_URL

public static final ThucydidesSystemProperty JIRA_URL
If the base JIRA URL is defined, Thucydides will build the issue tracker url using the standard JIRA form.


JIRA_PROJECT

public static final ThucydidesSystemProperty JIRA_PROJECT
If defined, the JIRA project id will be prepended to issue numbers.


JIRA_USERNAME

public static final ThucydidesSystemProperty JIRA_USERNAME
If defined, the JIRA username required to connect to JIRA.


JIRA_PASSWORD

public static final ThucydidesSystemProperty JIRA_PASSWORD
If defined, the JIRA password required to connect to JIRA.


HISTORY_BASE_DIRECTORY

public static final ThucydidesSystemProperty HISTORY_BASE_DIRECTORY
Base directory in which history files are stored.


SNAPSHOT_HEIGHT

public static final ThucydidesSystemProperty SNAPSHOT_HEIGHT
Redimension the browser to enable larger screenshots.


SNAPSHOT_WIDTH

public static final ThucydidesSystemProperty SNAPSHOT_WIDTH
Redimension the browser to enable larger screenshots.


RESIZED_WIDTH

public static final ThucydidesSystemProperty RESIZED_WIDTH
If set, resize screenshots to this size to save space.


PUBLIC_URL

public static final ThucydidesSystemProperty PUBLIC_URL
Public URL where the Thucydides reports will be displayed. This is mainly for use by plugins.


ACTIVATE_FIREBUGS

public static final ThucydidesSystemProperty ACTIVATE_FIREBUGS
Activate the Firebugs plugin for firefox. Useful for debugging, but not very when running the tests on a build server. It is not activated by default.


SECURITY_ENABLE_JAVA

public static final ThucydidesSystemProperty SECURITY_ENABLE_JAVA
Enable applets in Firefox. Applets slow down webdriver, so are disabled by default.


ACTIVTE_HIGHLIGHTING

public static final ThucydidesSystemProperty ACTIVTE_HIGHLIGHTING

BATCH_STRATEGY

public static final ThucydidesSystemProperty BATCH_STRATEGY
Batch strategy to use for parallel batches. Allowed values - DIVIDE_EQUALLY (default) and DIVIDE_BY_TEST_COUNT


BATCH_COUNT

public static final ThucydidesSystemProperty BATCH_COUNT
A deprecated property that is synonymous with thucydides.batch.size


BATCH_SIZE

public static final ThucydidesSystemProperty BATCH_SIZE
If batch testing is being used, this is the size of the batches being executed.


BATCH_NUMBER

public static final ThucydidesSystemProperty BATCH_NUMBER
If batch testing is being used, this is the number of the batch being run on this machine.


PROXY_URL

public static final ThucydidesSystemProperty PROXY_URL
HTTP Proxy URL configuration for Firefox and PhantomJS


PROXY_PORT

public static final ThucydidesSystemProperty PROXY_PORT
HTTP Proxy port configuration for Firefox and PhantomJS


PROXY_TYPE

public static final ThucydidesSystemProperty PROXY_TYPE
HTTP Proxy type configuration for Firefox and PhantomJS


PROXY_USER

public static final ThucydidesSystemProperty PROXY_USER
HTTP Proxy username configuration for Firefox and PhantomJS


PROXY_PASSWORD

public static final ThucydidesSystemProperty PROXY_PASSWORD
HTTP Proxy password configuration for Firefox and PhantomJS


TIMEOUTS_IMPLICIT_WAIT

public static final ThucydidesSystemProperty TIMEOUTS_IMPLICIT_WAIT
How long webdriver waits for elements to appear by default, in milliseconds.


EXTENSION_PACKAGES

public static final ThucydidesSystemProperty EXTENSION_PACKAGES
Extension packages. This is a list of packages that will be scanned for custom TagProvider implementations. To add a custom tag provider, just implement the TagProvider interface and specify the root package for this provider in this parameter.


CHROME_SWITCHES

public static final ThucydidesSystemProperty CHROME_SWITCHES
Arguments to be passed to the Chrome driver, separated by commas.


FIREFOX_PREFERENCES

public static final ThucydidesSystemProperty FIREFOX_PREFERENCES
Preferences to be passed to the Firefox driver, separated by semi-colons (commas often appear in the preference values.


FIREFOX_PROFILE

public static final ThucydidesSystemProperty FIREFOX_PROFILE
Full path to the Firefox profile to be used with Firefox. You can include Java system properties ${user.dir}, ${user.home} and the Windows environment variables %APPDIR% and %USERPROFILE (assuming these are correctly set in the environment)


JQUERY_INTEGRATION

public static final ThucydidesSystemProperty JQUERY_INTEGRATION
Enable JQuery integration. If set to true (the default), JQuery will be injected into any page that does not already have it. You can turn this option off for performance reasons if you are not using JQuery selectors.


SAUCELABS_TARGET_PLATFORM

public static final ThucydidesSystemProperty SAUCELABS_TARGET_PLATFORM

SAUCELABS_DRIVER_VERSION

public static final ThucydidesSystemProperty SAUCELABS_DRIVER_VERSION

SAUCELABS_TEST_NAME

public static final ThucydidesSystemProperty SAUCELABS_TEST_NAME

SAUCELABS_URL

public static final ThucydidesSystemProperty SAUCELABS_URL
SauceLabs URL if running the web tests on SauceLabs


SAUCELABS_ACCESS_KEY

public static final ThucydidesSystemProperty SAUCELABS_ACCESS_KEY
SauceLabs access key - if provided, Thucydides can generate links to the SauceLabs reports that don't require a login.


SAUCELABS_USER_ID

public static final ThucydidesSystemProperty 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.


SAUCELABS_IMPLICIT_TIMEOUT

public static final ThucydidesSystemProperty SAUCELABS_IMPLICIT_TIMEOUT
Override the default implicit timeout value for the Saucelabs driver.


SAUCELABS_RECORD_SCREENSHOTS

public static final ThucydidesSystemProperty SAUCELABS_RECORD_SCREENSHOTS
Saucelabs records screenshots as well as videos by default. Since Thucydides also records screenshots, this feature is disabled by default. It can be reactivated using this system property.


FILE_IO_RETRY_TIMEOUT

public static final ThucydidesSystemProperty FILE_IO_RETRY_TIMEOUT
Timeout (in seconds) for retrying file I/O. Used in net.thucydides.core.resources.FileResources.copyResourceTo(). Sometimes, file I/O fails on Windows machine due to the way Windows handles memory-mapped files (http://stackoverflow.com/questions/3602783/file-access-synchronized-on-java-object). This property, if set, will retry copying the resource till timeout. A default value is used if the property is not set.


LOGGING

public static final ThucydidesSystemProperty LOGGING
Three levels are supported: QUIET, NORMAL and VERBOSE


THUCYDIDES_TEST_ROOT

public static final ThucydidesSystemProperty THUCYDIDES_TEST_ROOT
The root package for the tests in a given project. If provided, Thucydides will log information about the total number of tests to be executed, and keep a tally of the executed tests. It will also use this as the root package when determining the capabilities associated with a test. If you are using the File System Requirements provider, Thucydides will expect this directory structure to exist at the top of the requirements tree. If you want to exclude packages in a requirements definition and start at a lower level in the hierarchy, use the thucydides.requirement.exclusions property.


REQUIREMENTS_DIRECTORY

public static final ThucydidesSystemProperty REQUIREMENTS_DIRECTORY
Use this property if you need to completely override the location of requirements for the File System Provider.


ANNOTATED_REQUIREMENTS_DIRECTORY

public static final ThucydidesSystemProperty ANNOTATED_REQUIREMENTS_DIRECTORY
Use this property if you need to completely override the location of requirements for the Annotated Provider. This is recommended if you use File System and Annotated provider simultaneously. The default value is stories.


LOWEST_REQUIREMENT_TYPE

public static final ThucydidesSystemProperty LOWEST_REQUIREMENT_TYPE
Determine what the lowest level requirement (test cases, feature files, story files, should be called. 'Story' is used by default. 'feature' is a popular alternative.


REQUIREMENT_TYPES

public static final ThucydidesSystemProperty REQUIREMENT_TYPES
The hierarchy of requirement types. This is the list of requirement types to be used when reading requirements from the file system and when organizing the reports. It is a comma-separated list of tags.The default value is: capability, feature


REQUIREMENT_EXCLUSIONS

public static final ThucydidesSystemProperty REQUIREMENT_EXCLUSIONS
When deriving requirement types from a path, exclude any values from this comma-separated list.


RELEASE_TYPES

public static final ThucydidesSystemProperty RELEASE_TYPES
What tag names identify the release types (e.g. Release, Iteration, Sprint). A comma-separated list. By default, "Release, Iteration"


LOCATOR_FACTORY

public static final ThucydidesSystemProperty LOCATOR_FACTORY
Normally, Thucydides uses SmartElementLocatorFactory, an extension of the AjaxElementLocatorFactory when instantiating page objects. This is to ensure that web elements are available and usable before they are used. For alternative behaviour, you can set this value to DisplayedElementLocatorFactory, AjaxElementLocatorFactory or DefaultElementLocatorFactory.


DATA_DIRECTORY

public static final ThucydidesSystemProperty DATA_DIRECTORY
The hierarchy of capability types. This is the list of capability types to be used when reading capabilities from the file system and when organizing the reports. It is a comma-separated list of tags.The default value is: capability, feature


PROPERTIES

public static final ThucydidesSystemProperty PROPERTIES
Allows you to override the default thucydides.properties location for properties file.


STATISTICS_DRIVER

public static final ThucydidesSystemProperty STATISTICS_DRIVER

STATISTICS_URL

public static final ThucydidesSystemProperty STATISTICS_URL

STATISTICS_USERNAME

public static final ThucydidesSystemProperty STATISTICS_USERNAME

STATISTICS_PASSWORD

public static final ThucydidesSystemProperty STATISTICS_PASSWORD

STATISTICS_DIALECT

public static final ThucydidesSystemProperty STATISTICS_DIALECT

TEST_REQUIREMENTS_ROOT

public static final ThucydidesSystemProperty TEST_REQUIREMENTS_ROOT
The base directory in which requirements are kept. It is assumed that this directory contains sub folders src/test/resources. If this property is set, the requirements are read from src/test/resources under this folder instead of the classpath or working directory. If you need to set an independent requirements directory that does not follow the src/test/resources convention, use thucydides.requirements.dir instead This property is used to support situations where your working directory is different from the requirements base dir (for example when building a multi-module project from parent pom with requirements stored inside a sub-module : See Jira #Thucydides-100)


THUCYDIDES_STORE_HTML_SOURCE

public static final ThucydidesSystemProperty THUCYDIDES_STORE_HTML_SOURCE
Set to true if you want the HTML source code to be recorded as well as the screenshots. This is not currently used in the reports.


THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS

public static final ThucydidesSystemProperty THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS
If set to true, a copy of the original screenshot will be kept when screenshots are scaled for the reports. False by default to conserve disk space.


TAGS

public static final ThucydidesSystemProperty TAGS
If provided, only classes and/or methods with tags in this list will be executed. The parameter expects a tag or comma-separated list of tags in the shortened form. For example, -Dtags="iteration:I1" or -Dtags="color:red,flavor:strawberry"


THUCYDIDES_EXTRA_COLUMNS

public static final ThucydidesSystemProperty THUCYDIDES_EXTRA_COLUMNS
Add extra columns to the CSV output, obtained from tag values.


THUCYDIDES_CONSOLE_HEADINGS

public static final ThucydidesSystemProperty THUCYDIDES_CONSOLE_HEADINGS
Write the console headings using ascii-art ("ascii", default value) or in normal text ("normal")


THUCYDIDES_NARRATIVE_FORMAT

public static final ThucydidesSystemProperty THUCYDIDES_NARRATIVE_FORMAT
If set to true, Asciidoc formatting will be supported in the narrative texts.


THUCYDIDES_REPORT_FORMAT

public static final ThucydidesSystemProperty THUCYDIDES_REPORT_FORMAT
Internal report format used when loading test outcome reports during aggregation - json or xml (xml by default)


PHANTOMJS_PATH

public static final ThucydidesSystemProperty PHANTOMJS_PATH
Path to PhantomJS executable


IGNORE_EMBEDDED_TABLES

public static final ThucydidesSystemProperty IGNORE_EMBEDDED_TABLES
If set to true, don't format embedded tables in JBehave or Gherkin steps. False by default.


DASHBOARD_TAG_LIST

public static final ThucydidesSystemProperty DASHBOARD_TAG_LIST
If set, this will define the list of tag types to appear on the dashboard screens


DASHBOARD_EXCLUDED_TAG_LIST

public static final ThucydidesSystemProperty DASHBOARD_EXCLUDED_TAG_LIST
If set, this will define the list of tag types to be excluded from the dashboard screens

Field Detail

DEFAULT_HEIGHT

public static final int DEFAULT_HEIGHT
See Also:
Constant Field Values

DEFAULT_WIDTH

public static final int DEFAULT_WIDTH
See Also:
Constant Field Values
Method Detail

values

public static ThucydidesSystemProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ThucydidesSystemProperty c : ThucydidesSystemProperty.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ThucydidesSystemProperty valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getPropertyName

public String getPropertyName()

toString

public String toString()
Overrides:
toString in class Enum<ThucydidesSystemProperty>

from

public String from(EnvironmentVariables environmentVariables)

from

public String from(EnvironmentVariables environmentVariables,
                   String defaultValue)

isDefinedIn

public boolean isDefinedIn(EnvironmentVariables environmentVariables)


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.