SWESPOT

Testing

Building a suite that catches real regressions, runs fast enough to run every time, and does not have to be rewritten with every refactor.

12 articles

Unit Tests

Listed inUnit TestsTestingon

Testing behaviour rather than implementation, so a refactor does not turn the suite red.

Beginner8 minDraft
#practices

Why We Test

Listed inWhy We TestTestingon

Tests as a design tool and a change-enabler, not a compliance exercise measured in coverage.

Beginner6 minDraft
#concepts

End-to-End Tests

Listed inEnd-to-End TestsTestingon

Browser-level coverage of the few flows that must never break, and keeping them under ten minutes.

Intermediate8 minDraft
#practices

Flaky Tests

Listed inFlaky TestsTestingon

The four causes of nondeterminism, why retries make it worse, and quarantine as a temporary fix.

Intermediate7 minDraft
#practices