Add at least one test file to every package that had none, so go test ./... no longer reports "no test files" for any package. Prefer table-driven unit tests and mocks; use t.Skip for integration-only code. Add additional tests for config, utils, api (errors, context, request ID), auth (hasher, org, rate limiter), cache, collaboration, compliance, db (connection, jsonb), validation (URL SSRF, UUID, common helpers) to improve statement coverage.
Add at least one test file to every package that had none, so
go test ./...no longer reports "no test files" for any package. Prefer table-driven unit tests and mocks; use t.Skip for integration-only code. Add additional tests for config, utils, api (errors, context, request ID), auth (hasher, org, rate limiter), cache, collaboration, compliance, db (connection, jsonb), validation (URL SSRF, UUID, common helpers) to improve statement coverage.