Testing
Static checks
cargo test --workspace
cd apps/frontend && npm run build
cd ../../website && npm run build
End-to-end smoke test
./scripts/e2e-smoke.sh
The test uses an isolated Compose project and ports 55432, 56379, 3311, 3312, and 3330. It verifies:
- Postgres and Redis are healthy.
- The backend and web proxy are healthy.
- The production SPA is served.
- A webhook enters through the web proxy.
- An event is stored, queued, and received by the example receiver.
- The event and delivery attempt become
delivered.
Test containers and volumes are removed automatically; process logs are temporarily kept in /tmp/terusin-e2e-*.log.