This guide covers how to write and run integration tests for Gofannon.
Integration tests verify that multiple components work together correctly. Unlike unit tests, they may involve real database connections, API calls, and Docker services.
# From webapp directory cd webapp # Run all integration tests pnpm test:integration # Run backend integration tests only pnpm test:integration:backend
Integration tests are located in:
webapp/packages/api/user-service/tests/integration/webapp/tests/e2e/Integration tests require running Docker services:
# Start required services docker compose up -d couchdb minio
Integration tests should: