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 5366708 4.9 KB Updated

File contents

brandhaug/skills/tree/main/remove-tautological-tests commit 5366708d3d

Frequently asked questions

npx skillmds@latest add brandhaug/remove-tautological-tests