Environments
Let’s say that we run tests on both Linux and Windows machines. Then some of our runs will be coming from Windows machines, and some from Linux:
This information will be captured in Flakiness Reports: each report contains a description of an environment that executed tests.
Environment is a simple list of key-value pairs. These can be generic properties, such as OS name and version:
os_version: 22.04os_name: ubuntuos_arch: x86_64But also custom properties:
endpoint: stagingdb_provider: mysqlAll official reporters support FK_ENV_* environment variables for defining
custom properties — the prefix is stripped and the key is lowercased. See
Configuring Environments for the full setup.