Testing

Confidence per second of CI. Pick the cheapest test that would actually have caught the bug.

5 articles

Testing Strategy

Listed inTesting StrategyTestingon

Unit, component, and end-to-end — what each layer is for, and the ratio that survives a growing team.

Intermediate8 minDraft
#testing
#practices

Cypress

Listed inCypressTestingon

In-browser end-to-end testing with a time-travel debugger, and where its execution model constrains you.

Intermediate6 minDraft
#testing
#e2e

Playwright

Listed inPlaywrightTestingon

Cross-browser end-to-end testing with auto-waiting, tracing, and parallel workers.

Intermediate8 minDraft
#testing
#e2e

Jest

Listed inJestTestingon

The long-time default: mocking, snapshots, and the transform setup that trips up ESM projects.

Beginner7 minDraft
#testing
#tooling

Vitest

Listed inVitestTestingon

Vite-native unit and component testing, browser mode, and sharing one config with the app build.

Beginner7 minDraft
#testing
#tooling