Set up your CodeBeaver tests using the CodeBeaver YAML file
codebeaver.yml
configuration file is the central point for defining and managing your CodeBeaver test suite configuration. This file specifies how CodeBeaver executes tests across your codebase, including test environments, frameworks, and execution parameters.
It is broadly divided into test types. A simple example is the following:
codebeaver.yml
and they will not run.
services
main_service
test_commands
single_file_test_commands
from
directive. For example, to use the pytest
template without any customization:
@merge
directive is a powerful feature that allows you to combine any root-level configuration from a template with your custom configuration. It can be used in two ways:
@merge
):
{"@merge": value}
):
@merge
directive can be used with any root-level configuration, including:
services
environment
setup_commands
test_commands
single_file_test_commands
@merge
directive, your configuration would completely override the template’s configuration. Including @merge
ensures you’re extending rather than replacing the template’s settings:
codebeaver.yml
file using a human-readable format. Each test consists of a unique identifier, a starting URL, and a sequence of test steps. Here’s an example:
Coming soon.