Files
walkies/.claude/agents/testing-mocks.md
2026-03-05 15:59:33 -04:00

354 B

description, globs
description globs
Preferences for testing and mocks
**/*_test.go
e2e/**/*.go

Testing Mocks

When writing or updating tests:

  • Always prefer real code, a local version of a server (like httptest), etc., to static mocks.
  • Prefer dependency injection if useful for testing.
  • A mock implementation should be the absolute last resort.