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 Specific configuration changes can be made in the env/default/java.properties file.
Specify an alternate Java home if you want to use a custom version.
gauge_java_home = PATH_TO_JAVA_HOME
Note: IntelliJ out directory will be usually auto-detected.
Use this property if you need to override the build path for the project.
gauge_custom_build_path = PATH_TO_CUSTOM_BUILDPATH
- 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.
gauge_additional_libs = libs/*, PATH_TO_NEW_LIBRARY
Specify the JVM arguments passed to java while launching.
Specify the level at which cached objects should get removed while execution.
Possible values for this property are
scenario. By default, Gauge clears state at scenario level.
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 Specific configuration changes can be made in the env/default/default.properties file.
- The path to the gauge reports directory.
- Should be either relative to the project directory or an absolute path.
gauge_reports_dir = 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.
overwrite_reports = true
Set to false to disable screenshots on failure in reports.
screenshot_on_failure = true
The default Ruby properties are similar to that of the CSharp properties.