Remove Tautological Tests

Find and remove tautological tests — change-detector tests that mirror the code under test and break on any refactor without catching defects. Patterns include checksum assertions, mock-theater interaction tests, echo assertions, duplicate-algorithm tests, and snapshots with no oracle. Use when writing or reviewing tests, after a behavior-preserving refactor broke tests, or when the user says tests are tautological, circular, or "just testing the implementation".

brandhaug Updated

File contents

brandhaug/skills commit 5366708d3d

Frequently asked questions

npx get-skill add brandhaug/remove-tautological-tests