Part I: Principles and Practices of Testing

Testing, in particular automated tests written in code, pervades software engineering. Whether through test-driven development, continuous integration, behavior-driven development, continuous delivery, acceptance test-driven development, specification by example, integration testing, system testing, or unit testing, everyone involved in software-based product development has a chance to write automated tests. Agile, Lean,1 and software craftsmanship movements espouse high levels of testing to support rapid development and high quality.

1. I use Lean to refer to a Lean Production approach derived from the Lean Manufacturing movement as opposed to Lean Startup. The opinions about quality in this chapter ...

Get Quality Code: Software Testing Principles, Practices, and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.