Reference implementation of the API server to manage creating runts for notebooks
This project uses pytest for testing with coverage reporting. The testing setup
follows the guidelines in docs/testing.md.
Install development dependencies:
uv syncThe development dependencies are automatically installed when using
uv run pytest.
Run tests using uv run pytest:
# Run all tests
uv run pytest tests/ -v
# Run all tests
uv run pytest tests/ -v
# Run tests with coverage report
uv run pytest tests/ --cov=src/runt_hq --cov-report=term-missing --cov-report=htmltests/test_*.py- Unit tests using TestClienttests/conftest.py- Global pytest fixturesdocs/testing.md- Detailed testing philosophy and guidelines
Coverage reports are generated automatically when running tests. Reports are available in:
- Terminal output (missing lines)
htmlcov/directory (HTML report)coverage.xml(XML report for CI/CD)