Skip to main content

Module config

Module config 

Source
Expand description

The testing-conventions config schema and loader.

One config file is read into the in-memory Config below. The loader parses and validates the config itself (the “self-guard” from issue #12): a malformed or unknown-key config is an error, never a silently-accepted default.

Nothing consumes Config yet — this module only turns the file on disk into the in-memory structure.

Structs§

Config
A fully-parsed testing-conventions config file.
PythonConfig
The [python] table.
PythonCoverage
[python].coverage.
RustConfig
The [rust] table.
RustCoverage
[rust].coverage. Branch coverage is still experimental, so only regions/lines are configurable.
TypeScriptConfig
The [typescript] table.
TypeScriptCoverage
[typescript].coverage.

Functions§

load_config
Read one config file at path into a Config, validating it on the way.