---
title: "The Art Of Unit Testing - Download Chapter 1"
url: "https://osherove.com/blog/2006/10/10/the-art-of-unit-testing-download-chapter-1.md"
canonical: "https://osherove.com/blog/2006/10/10/the-art-of-unit-testing-download-chapter-1.html"
published: "2006-10-10T20:03:25"
updated: "2006-10-10T20:03:25"
tags: ["Agile", "Agile Related", "Art Of Unit Testing", "Free book chapters", "Testing Guidelines", "Unit Testing"]
author: "Roy Osherove"
description: "I'm happy to announce that draft of chapter 1 from my upcoming book \" The Art of Unit Testing \" is available for download immediately - click here for the PDF . the book will also be available to download from Manning's…"
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 - Download Chapter 1

By Roy Osherove October 10, 2006 In [Agile](https://osherove.com/blog/category/agile), [Agile Related](https://osherove.com/blog/category/agile-related), [Art Of Unit Testing](https://osherove.com/blog/category/art-of-unit-testing), [Free book chapters](https://osherove.com/blog/category/free-book-chapters), [Testing Guidelines](https://osherove.com/blog/category/testing-guidelines), [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published October 10, 2006; technical details may be outdated.

I'm happy to announce that draft of chapter 1 from my upcoming book "[The Art of Unit Testing](http://the.artofunittesting.com/)" is available for download immediately - [click here for the PDF](http://the.artofunittesting.com/LinkClick.aspx?link=http%3a%2f%2fwww.manning.com%2fosherove%2fCh1_Unit_Testing.pdf&tabid=194&mid=636). the book will also be available to download from [Manning's home page](http://www.manning.com/).

**Chapter summary:**

Chapter 1 tries to give a better definition of what a unit test is, by first trying to understand what **isn't** a unit test (integration tests are often mistaken for unit tests). It also covers the basics of what makes a **good unit test** instead of just saying what any unit test might be. It also covers what unit test frameworks are, how they got started and what Test Driven Development is.

**Book Site:**

I'm also announcing the book site: [http://the.artofunittesting.com/](http://the.artofunittesting.com/)

During the writing of this book, I'll make more chapters available, though not all of them, for understandable reasons. You'll be able to read rough drafts of all chapters if you subscribe to [manning's early access program](http://www.manning.com/about/meap.html), I'll let you know when my book is available there.

**Your feedback is appreciated:**

I welcome critics, comments, fixes, praise, incoming links and anything else you'd want to write to me about this chapter or the book site. Write an email to \[email removed\] .

## More in Agile

[All posts in Agile](https://osherove.com/blog/category/agile)

- Oct 14, 2006

    ### [DataFresh - Database rollback library for unit tests](https://osherove.com/blog/2006/10/14/datafresh-database-rollback-library-for-unit-tests.html)

- Oct 11, 2006

    ### [Good Agile, Bad Agile](https://osherove.com/blog/2006/10/11/good-agile-bad-agile.html)

- Oct 3, 2006

    ### [Avoid multiple asserts in a single unit test: revisited](https://osherove.com/blog/2006/10/3/avoid-multiple-asserts-in-a-single-unit-test-revisited.html)

- Oct 2, 2006

    ### [My sessions at TechEd Europe 2006](https://osherove.com/blog/2006/10/2/my-sessions-at-teched-europe-2006.html)


---

## 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/
