Skip to content

References: Testing That Pays for Itself

  1. Software testing - Wikipedia - Covers the kinds and levels of testing, from manual checks to automated suites. It gives the overview behind this chapter's choices about what to test.

  2. Unit testing - Wikipedia - Explains testing small pieces of code alone, with fixtures and mocks. It supports the chapter's comparison of unit and integration tests.

  3. Regression testing - Wikipedia - Describes re-running tests to catch old bugs coming back. It backs the chapter's rule of writing a test for every bug you fix.

  4. Test Driven Development: By Example - Kent Beck - Addison-Wesley, 2002 - Beck popularized the red, green, refactor cycle of writing a failing test first. That habit is a good way to make an agent prove a fix works.

  5. Unit Testing Principles, Practices, and Patterns - Vladimir Khorikov - Manning, 2020 - Khorikov is known for judging tests on four qualities: catching old bugs coming back, surviving tidy-ups of the code, fast feedback and easy upkeep. It helps decide which tests pay for themselves.

  6. The Practical Test Pyramid - Ham Vocke on martinfowler.com - A detailed walk through the test pyramid with working code at each level. It helps balance unit, integration and end-to-end tests.

  7. Write tests. Not too many. Mostly integration. - Kent C. Dodds - Argues that integration tests give the most confidence per test, with the "testing trophy" picture. It supports focusing on critical user paths.

  8. Playwright - Playwright - The official guide to a browser test tool that drives real browsers. Useful for end-to-end tests of sign-in and payment paths.

  9. Vitest Getting Started - Vitest - The official guide to a fast test runner for JavaScript and TypeScript apps. A common choice when an agent sets up unit tests.

  10. Just Say No to More End-to-End Tests - Google Testing Blog - Explains why slow, flaky end-to-end tests give poor feedback. It backs the chapter's advice to keep end-to-end tests few and focused.