Configuration

General

Configuration properties set here will be available to the test execution as environment variables. Please see Environments for more details.

Properties are defined in the following format.

sample_key = sample_value

Java

Java Specific configuration changes can be made in the env/default/java.properties file.

gauge_java_home

Specify an alternate Java home if you want to use a custom version.

Example:

gauge_java_home = PATH_TO_JAVA_HOME

gauge_custom _build_path

Note: IntelliJ out directory will be usually auto-detected.

Use this property if you need to override the build path for the project.

Example:

gauge_custom_build_path = PATH_TO_CUSTOM_BUILDPATH

gauge_additional_libs

  • Specify the directory where additional libraries are kept.
  • You can specify multiple directory names separated with a comma ','
  • libs directory in the gauge project is added by default.

Example:

gauge_additional_libs = libs/*, PATH_TO_NEW_LIBRARY

gauge_jvm_args

Specify the JVM arguments passed to java while launching.

gauge_clear_state_level

Specify the level at which cached objects should get removed while execution.

Possible values for this property are suite,spec and scenario. By default, Gauge clears state at scenario level.

Example:

gauge_clear_state_level = spec

This clears the objects after the execution of each specification, so that new objects are created for next execution.

CSharp

CSharp Specific configuration changes can be made in the env/default/default.properties file.

gauge_reports_dir

  • The path to the gauge reports directory.
  • Should be either relative to the project directory or an absolute path.

Example:

gauge_reports_dir = reports

overwrite_reports

  • Set as false if gauge reports should not be overwritten on each execution.
  • A new time-stamped directory will be created on each execution.

Example:

overwrite_reports = true

screenshot_on_failure

Set to false to disable screenshots on failure in reports.

Example:

screenshot_on_failure = true

Ruby

The default Ruby properties are similar to that of the CSharp properties.

results matching ""

    No results matching ""