Testing

Unit tests

task test:go

Runs all Go package tests with race detection and coverage.

Integration tests

task test:integration

Requires a running server. Integration tests validate API behavior against the OpenAPI spec, ensuring the implementation matches the contract.

Running locally with Docker Compose

For integration tests, start the full stack first:

task up

Then run the integration tests against the running server.