Testing¶
Running Tests¶
This executes pytest with coverage reporting for src/owi/metadatabase/results.
Test Structure¶
Tests live under tests/ and mirror the source layout:
tests/— top-level test configuration and fixtures- Test files follow the
test_<module>.pynaming convention
Doctests¶
Doctests embedded in module docstrings are collected automatically during
test runs. The pyproject.toml enables --doctest-modules for the src
directory.
Coverage¶
After running tests, a coverage HTML report is generated. To serve it:
To stop the coverage server: