Provide a way to pass settings from runner to fixtures #2431
Labels
AREA: server
FREQUENCY: level 2
SYSTEM: runner
TYPE: enhancement
The accepted proposal for future implementation.
Milestone
Feature Request
Provide a way to pass configuration from
Runner
to test fixtures.What is the current behavior?
There is no way to pass any information from the TestCafé runner to the actual tests.
What is the expected behavior?
For our use case, we want to provide different configuration from various sources to the tests on a per-execution basis. This means that e.g. configuration files as proposed here are not a viable option.
It would be great, if you could pre-fill the fixture context
fixtureCtx
from the TestCafé runner, like so:resulting in this test fixtures:
The text was updated successfully, but these errors were encountered: