Testing On The Toilet

Apply Google Testing on the Toilet (TotT) rules when writing tests, reviewing a test diff, choosing mocks vs fakes, diagnosing brittle or change-detector tests, DAMP vs DRY test structure, SMURF/pyramid layer choice, or flaky time/sleep/shared-fixture tests. Instructs what a good test asserts and what to refuse. Not a Vitest/runner cookbook and not an E2E authoring workflow.

shamashel Updated

File contents

shamashel/testing-on-the-toilet/tree/main/skills/testing-on-the-toilet commit d96b0cb975

Frequently asked questions

npx skillmds@latest add shamashel/testing-on-the-toilet