pytest_jsonschema_snapshot.stats¶
Module for collecting and displaying statistics about schemas.
Attributes¶
Classes¶
Class for collecting and displaying statistics about schemas |
Module Contents¶
- class SchemaStats[source]¶
Class for collecting and displaying statistics about schemas
- print_summary(
- terminalreporter: pytest.TerminalReporter,
- update_mode: bool,
Prints schema summary to pytest terminal output. Pairs of “<name>.schema.json” + “<name>.json” are merged into one line: “<name>.schema.json + original” (if original is present). Unpaired .json are shown in separate “only originals” sections.