Contributor guideDocsContributing

Testing

The canonical command is the full repository suite:

pytest tests/

Run it in the supported container environment for full coverage: parts of the suite exercise Reef's adapters against the pinned training runtime. While many torch-dependent tests guard themselves with pytest.importorskip and skip cleanly, some files (for example tests/reef_service/test_slime_bridge.py) import the Slime stack — and therefore torch — at collection time, so a machine without the training dependencies cannot collect the whole suite.

For quick iteration, run one area by passing its test file; most of tests/reef_service uses temporary stores and fake model backends and needs no GPU:

pytest tests/reef_service/test_reef_artifacts.py -q

Pytest markers include unit, integration, and acceptance; use them with pytest -m <marker>.