Configuration settings#

General configuration settings#

debug: false  # (bool)
log_level: "INFO"  # (str)

plugins#

Plugins to load

plugins: []  # (list of str)

timeout#

Set test timeouts based on keywords. The fast and long timeouts are applied to tests having fast or long keywords, otherwise the default timeout is applied.

timeout:
  fast: T  # (number or str) default: 30s
  long: T  # (number or str) default: 10m
  default: T  # (number or str) default: 5m

Note

Users can specify custom timeouts associated with keywords by adding them to the test:timeout configuration. For instance, to set a timeout of 1 second for tests labeled with the unit_test keyword, simply define the test:timeout:unit_test setting as follows:

timeout:
  unit_test: 1s

The same can be accomplished on the command line: canary -c test:timeout:unit_test:1s ....

environment#

Modify environment variables.

environment:
  set:
    var: value # (str) environment variables to set for the test session
  unset:
  - var # (str) environment variables to unset for the test session
  prepend-path:
    PATHNAME: value # (str) prepend value to path variable PATHNAME
  append-path:
    PATHNAME: value # (str) append value to path variable PATHNAME

workspace#

workspace:
  view: TestResults

run#

run:
  default_tag: ':all:'
  timeout:
    str: T