"Unit", "unit test", "public interface" - the terms get thrown around like their definitions are settled. They aren't, and the gap between what we assume they mean and what the sources they're attributed to (Robert C. Martin, Kent Beck) actually say is where brittle test suites and refactor-averse test cases come from.
This deck traces those definitions back to their origin, then works through Kent Beck's Test Desiderata as a better lens than "is it a unit test": behavioral, structure-insensitive, isolated, writable. Built with MDX Deck and Code Surfer.
Live deck: https://unit-testing-deconstructed.emilol.com/
Presented at NDC Sydney 2020.
npm startEdit deck.mdx to change the content.
npm run buildOutputs the static site to public/, which is what Netlify deploys (see netlify.toml).