Skip to main content

Module fixture

Module fixture 

Source
Expand description

Declarative probe fixtures: YAML with request steps, a pass condition and ordered failure classes. Adding a fixture is adding a file; see docs/fixtures.md.

Structs§

Error
FailRule
Fixture
Ref
Where a condition looks: exchange N (default: the last one) and a JSONPath.
Step

Enums§

Cond
Kind
Test

Functions§

builtin
The built-in fixtures, embedded at build time from fixtures/ (every *.yaml).
load_dir
Fixtures from a directory (every *.yaml, sorted by name).
parse
parse_ref
"1:$.a.b" or "$.a.b".
yaml_to_json