Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Shipping Confidence

โ€œIt works on my machineโ€ is not a feature. The bug your user finds at 11 p.m. was there on your machine too; nothing was looking for it. Confidence is a feature, and it belongs in every project in this book, not only the ones with time left over. It comes from three checks that run without you: a test suite that catches regressions, a static analyzer that catches whole classes of bugs before the code runs, and a scan that flags a vulnerable dependency before it ships.

A conveyor belt carries crates through three archway gates marked with a check mark, a magnifying glass and a padlock, toward an open delivery truck. A small elephant lifts a cracked crate off the belt before the first gate

Each ecosystem has its own set of gates. The last two pages are the ones that work everywhere.