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.
- Python
Config - The
[python]table. - Python
Coverage [python].coverage.- Rust
Config - The
[rust]table. - Rust
Coverage [rust].coverage. Branch coverage is still experimental, so only regions/lines are configurable.- Type
Script Config - The
[typescript]table. - Type
Script Coverage [typescript].coverage.
Functions§
- load_
config - Read one config file at
pathinto aConfig, validating it on the way.