ditto doctor¶
Runs health checks: verifies pytest is available, the ditto pytest plugin is registered, and all registered recorder plugins load successfully.
Usage¶
Behaviour¶
Checks:
- pytest is installed and importable
- The ditto pytest plugin is registered and imports cleanly. The check fails if
another installed plugin claims the same
pytest11entry-point name, because pytest loads only one plugin per name and silently skips the others. - All registered recorder plugins (
ditto_recorders) load without error - Recorder registrations keep the plugin contract: valid names, no name
registered twice (and so no two recorders sharing snapshot files), no bare name that
is also a namespace, no name shadowing a
dittoattribute, and no installed plugin still on the 1.x contract. Each problem is one failingplugin contractrow.
Reports any issues found and exits non-zero if health checks fail.