testing
Domain inferred from 6 atoms across the corpora.
Atom counts by kind
| Kind | Count |
|---|---|
| anti-pattern | 1 |
| fact | 1 |
| pattern | 1 |
| principle | 1 |
| rule | 1 |
| tool | 1 |
Sample atoms
Test The Mock
Tests that mock every collaborator and then assert on the mock interactions (`expect(mock.send).toHaveBeenCalledWith(...)`) verify implementation details rather than behavior.…
Test Pyramid Ratios
Common observed test-suite distributions across mature codebases: (1) Mike Cohn's classical pyramid: 70% unit / 20% integration / 10% E2E, by test count. (2) Kent C.…
Snapshot Restraint
Snapshot tests are valuable for serialization formats, JSON schemas, and rare 'large output equivalence' cases — and dangerous when used as a default for component or unit testing.…
Test Pyramid
Structure tests as a pyramid: 70% unit tests (pure functions, single class/component, no I/O — milliseconds each), 20% integration tests (multi-component or single-service against real DB/queue with test fixtures — secon…
Flaky Quarantine
Any test failure that does not reproduce when re-run with no code change is flaky.…
Tool Playwright
Microsoft's Playwright is a cross-browser automation framework for end-to-end testing.…