---
title: "The Art of Unit Testing, 2nd Edition"
url: "https://pipelinedriven.org/agility-devops-related-books/art-of-unit-testing.md"
canonical: "https://pipelinedriven.org/agility-devops-related-books/art-of-unit-testing"
published: "2016-10-29T07:13:26.678000+00:00"
updated: "2016-10-29T07:13:26.678000+00:00"
tags: []
author: "Roy Osherove"
description: "The Art of Unit Testing, 2nd Edition: a book recommended on Pipeline Driven by Roy Osherove."
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# The Art of Unit Testing, 2nd Edition

Books

- [![Cover: The Art of Unit Testing, 2nd Edition](https://pipelinedriven.org/img/c/aout2cover-f803c6.jpg)](https://pipelinedriven.org/agility-devops-related-books/art-of-unit-testing)

    ## [The Art of Unit Testing, 2nd Edition](https://pipelinedriven.org/agility-devops-related-books/art-of-unit-testing)

    The Art of Unit Testing guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy.

    You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks

    You'll explore test patterns and organization, working with legacy code, and even "untestable" code.

    Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies.

    [View on Amazon](http://amzn.to/2f1JRGo)

[← All books](https://pipelinedriven.org/books-by-roy-osherove)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
