Class SystemPropertiesConfiguration

java.lang.Object
net.thucydides.core.configuration.SystemPropertiesConfiguration
All Implemented Interfaces:
Configuration

public class SystemPropertiesConfiguration extends Object implements Configuration
Centralized configuration of the test runner. You can configure the output directory, the browser to use, and the reports to generate. Most configuration elements can be set using system properties.
  • Field Details

    • DEFAULT_ELEMENT_TIMEOUT_SECONDS

      public static final int DEFAULT_ELEMENT_TIMEOUT_SECONDS
      Default timeout when waiting for AJAX elements in pages, in seconds.
      See Also:
    • DEFAULT_ESTIMATED_AVERAGE_STEP_COUNT

      public static final Integer DEFAULT_ESTIMATED_AVERAGE_STEP_COUNT
    • PROJECT_BUILD_DIRECTORY

      public static final String PROJECT_BUILD_DIRECTORY
      If in system properties will be defined project.build.directory or project.reporting.OutputDirectory then it will be used for output for serenity test reports. By default maven NEVER push this properties to system environment, but they are available in maven. This property is used when maven/gradle build contains sub-projects
      See Also:
    • REFUSE_UNTRUSTED_CERTIFICATES

      public static final String REFUSE_UNTRUSTED_CERTIFICATES
      By default, when accepting untrusted SSL certificates, assume that these certificates will come from an untrusted issuer or will be self signed. Due to limitation within Firefox, it is easy to find out if the certificate has expired or does not match the host it was served for, but hard to find out if the issuer of the certificate is untrusted. By default, it is assumed that the certificates were not be issued from a trusted CA. If you are receive an "untrusted site" prompt on Firefox when using a certificate that was issued by valid issuer, but has expired or is being served served for a different host (e.g. production certificate served in a testing environment) set this to false.
    • outputDirectory

      protected File outputDirectory
      HTML and XML reports will be generated in this directory.
    • defaultBaseUrl

      protected String defaultBaseUrl
    • environmentVariables

      protected EnvironmentVariables environmentVariables
  • Constructor Details

    • SystemPropertiesConfiguration

      @Inject public SystemPropertiesConfiguration(EnvironmentVariables environmentVariables)
  • Method Details