How to run tests
- Backend (Kotlin)
- Frontend (TypeScript)
- ML (Python)
cd backend/platform
./gradlew test # Unit tests
./gradlew integrationTest # Integration tests (if configured)
./gradlew test --tests "*.SomeTest" # Specific test class
cd frontend/apps/console
pnpm test # Unit tests
pnpm test:watch # Watch mode
pnpm test -- --coverage # With coverage
cd ml
uv run pytest # All tests
uv run pytest tests/unit/ # Unit tests only
uv run pytest -v --tb=short # Verbose with short tracebacks
CI behavior
CI runs all tests automatically on push/PR to main:
- Backend tests trigger on
backend/**orproto/**changes - Frontend tests trigger on
frontend/**changes - See
.github/workflows/ci.ymlfor the full configuration
What's next
- How to add an API endpoint — End-to-end guide
- How to deploy to dev — Push to AKS