277 B
277 B
Test Coverage Gaps
Find untested code paths and write tests for them.
Process
go test -cover ./...to identify coverage- Focus on exported functions with 0% coverage
- Write tests using Good/Bad/Ugly naming
- Prioritise: error paths > happy paths > edge cases