ECC/.cursor/rules/golang-testing.md

499 B

description globs alwaysApply
Go testing extending common rules
**/*.go
**/go.mod
**/go.sum
false

Go Testing

This file extends the common testing rule with Go specific content.

Framework

Use the standard go test with table-driven tests.

Race Detection

Always run with the -race flag:

go test -race ./...

Coverage

go test -cover ./...

Reference

See skill: golang-testing for detailed Go testing patterns and helpers.