Expand description
Serde types for the faucet test spec file.
A spec file declares fixture-based, fully-offline test cases for a pipeline’s deterministic path (transforms → quality → contract). No real source or sink is ever built: fixture records are streamed through an in-memory source and captured by an in-memory sink + DLQ.
Structs§
- Expectation
- Expected outcome of a test case. Every field is optional but at least one must be set; all set fields are asserted together.
- Inline
Pipeline - Inline pipeline logic for a test case that doesn’t reference a config file.
- Test
Case - One fixture-based test case.
- Test
Spec File - Top-level shape of a
faucet testspec file (YAML or JSON).
Enums§
- Input
Spec - Fixture input — inline records or a fixture-file path.
- Match
Mode - Record-comparison mode for
expect.records/expect.dlq.
Functions§
- load_
spec - Parse a spec file (YAML or JSON by extension) and validate it.