Our reading notes

How I Write Tests

A practical testing approach built around separable modules, reusable fakes, and making verification easier to perform.

The idea to take with you

Designing a component so its behavior can be checked in isolation often improves the component boundary itself.

What to look for

  1. 01

    Develop a module and its tests together.

  2. 02

    Turn repeated manual checks into durable verification.

  3. 03

    Invest in testing tools when the difficulty of testing is slowing development.

Keep in mind

A personal working method rather than a mandate to use one style of test-driven development everywhere.

Put it to work

Try this next

Find a change you always verify by hand. Identify the dependency that makes a repeatable test difficult, then improve that boundary.

Get the architecture template

Notes and exercises by Awesome CTO. The original work belongs to Nelson Elhage.

Work through the bigger question.

Our architecture guide connects the reading to a practical approach and a template.

Open guide
Esc

Type to search every entry. ↑↓ to move, Enter to open.