Animal Ethics & Section 40/45 approval process
Backend tests now run on pytest with categories for unit, api, security, integration, slow, and smoke. Pytest uses backend/config/test_settings.py so local and CI runs do not depend on PostgreSQL database-creation privileges.
Run the fast backend suite:
cd backend
poetry run pytestRun backend tests in parallel with coverage:
cd backend
poetry run pytest -n auto --cov --cov-report=term-missing --cov-report=html --cov-report=xmlRun the frontend suite with Vitest:
cd frontend
bun run testRun frontend coverage:
cd frontend
bun run test:coverageAzure Pipelines now runs backend and frontend tests before the Docker build, and publishes coverage for both stacks.