Fixtures
What are fixtures?
Stoobly fixtures are predefined responses used during mocking. Fixtures are used in the case where a recorded response is not found for the current request.
Why use fixtures?
Quick way to mock a request in the case where a specific response is difficult to record
Serve assets that otherwise should not be recorded
Example Fixtures YAML File
The following is an example file for a fixtures-response.yml
passed to the --fixtures-response-path
option:
Next Steps
Last updated
Was this helpful?