Tiny Tests, Large Results
summary
Concrete recipes for turning slow, brittle end-to-end checks into fast, focused validations that touch at most two screens: perform a POST to create a session cookie and set cookie in the browser, or authenticate to receive a JSON Web Token and stash it in localStorage, then hit protected endpoints and assert behavior. Examples use Cypress.io, show web-request snippets, and report dramatically lower latency and flakiness with tiny, repeatable tests.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:11What makes a test atomic
- 3:17Atomic test forms
- 4:01Atomic tests on HTML form
- 9:41Atomic login with web requests
- 11:48Atomic tests with JWT
- 17:35Bypassing UI for JWT
- 18:43Atomic tests for JWT login
- 20:10Additional login mechanisms








