Skip to content

Repository files navigation

Unit Testing: Deconstructed

Unit Testing: Deconstructed title slide

"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.

Development

npm start

Edit deck.mdx to change the content.

Building

npm run build

Outputs the static site to public/, which is what Netlify deploys (see netlify.toml).

About

Deconstructing what "unit test" actually means, and where the default definitions have drifted from their sources.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages