Skip to content

chore: add no-source-scanning test rule to CLAUDE.md#74

Merged
jdalton merged 1 commit intomainfrom
chore/no-source-scanning-test-rule
Mar 26, 2026
Merged

chore: add no-source-scanning test rule to CLAUDE.md#74
jdalton merged 1 commit intomainfrom
chore/no-source-scanning-test-rule

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

@jdalton jdalton commented Mar 26, 2026

Summary

  • Adds a "Test Style — Functional Over Source Scanning" rule to the Testing & Coverage section of CLAUDE.md
  • Prohibits writing tests that read source files and assert on their contents (.toContain('pattern'))
  • Directs toward functional/behavioral tests, integration tests, and unit tests with real function calls

@jdalton jdalton merged commit 6aa4807 into main Mar 26, 2026
14 checks passed
@jdalton jdalton deleted the chore/no-source-scanning-test-rule branch March 26, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant