Skip to main content

config.yml

The config.yml is the main entry point to the Test Evolve configuration. Here you define the test types for your test run and the environment to execute the tests against.

Global

environment

nodejs
2021.1.0
ruby
2021.1.0
environment: qa

Specify the environment that the tests will be performed against, as listed in the environments.yml file.

This value can be overridden with the TE_ENVIRONMENT environment variable.

test_types

nodejs
2021.1.0
ruby
2021.1.0
test_types: [browser]

Specify the test types that are being used in your test run. You can add one or many to the array.

languagetest typedescription
Rubyapienables api logging options
RubyNodeJSbrowsercreates a browser for each test to interact with.configured in browser.yml
RubyNodeJSmobile_appopens a mobile app on a device for each test to interact with. configured in mobile_app.yml
Rubydesktop_appautomate a desktop application. configured in desktop_app.yml

The test_types array can be left empty, and Test Evolve will not perform any actions before or after a scenario, however the reporting configured in reporting.yml will still apply.

request_logging

ruby
2021.1.0
request_logging: true
optiondescription
trueoutputs an additional log file to the results folder with all RestClient api calls and responses
falsedoes not output an additional log file

try_with_logging

ruby
2021.1.0
try_with_logging: true
optiondescription
trueoutputs additional information to the console when using the TryWith feature
falsedoes not output additional information to the console

logging_severity

nodejs
2021.1.0
ruby
2021.1.0
logging_severity: info

Set the level of logging that should be displayed in the console during a test run. Critical Test Evolve and Cucumber test information will always be output to the console but setting a logging_severity level allows us to stop the logs getting cluttered with Test Evolve runtime information.

When a logging_severity is set only messages at that level or higher will be printed.

languageleveldescription
RubyNodeJSfatalincludes events in Test Evolve that will cause Test Evolve to stop a test run
RubyNodeJSerrorincludes events in Test Evolve that will cause Test Evolve to stop a test
RubyNodeJSwarnincludes events that Test Evolve encounters that does not cause a test to be stopped.
example: Test Evolve [1][23:15:44.730] WARN: Unable to clear cookies on this browser version
RubyNodeJSinforecommended - includes useful information about Test Evolve operation.
example: Test Evolve [1][23:15:44.730] INFO: Starting test with Chrome on desktop browser using local machine...
RubyNodeJSdebugincludes granular information about Test Evolve operation for troubleshooting and development.
example: Test Evolve [1][23:15:44.730] DEBUG: Webdrivers - Current version of /Users/test.evolve/.webdrivers/chromedriver is ChromeDriver 83.0.4103.39
Rubytracenot currently used by Test Evolve

Example config.yml

default_config/config.yml
&defaults_config

global:
environment: qa1

test_types: [browser]

request_logging: true
try_with_logging: true
logging_severity: info