---
title: "The Art Of Unit Testing - Available to Purchase Online Now"
url: "https://osherove.com/blog/2007/9/26/the-art-of-unit-testing-available-to-purchase-online-now.md"
canonical: "https://osherove.com/blog/2007/9/26/the-art-of-unit-testing-available-to-purchase-online-now.html"
published: "2007-09-26T09:49:42"
updated: "2007-09-26T09:49:42"
tags: ["Agile", "Agile Related", "Community News", "Free book chapters", "General Software Devel...", "Testing Guidelines"]
author: "Roy Osherove"
description: "I'm happy to announce that you can now purchase my book The Art Of Unit Testing through the Manning Early Access Program. Currently, the first five chapters are available, but when you purchase the MEAP version you get…"
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 - Available to Purchase Online Now

By Roy Osherove September 26, 2007 In [Agile](https://osherove.com/blog/category/agile), [Agile Related](https://osherove.com/blog/category/agile-related), [Community News](https://osherove.com/blog/category/community-news), [Free book chapters](https://osherove.com/blog/category/free-book-chapters), [General Software Devel...](https://osherove.com/blog/category/general-software-devel), [Testing Guidelines](https://osherove.com/blog/category/testing-guidelines)

**Historical article** · Originally published September 26, 2007; technical details may be outdated.

[![image](https://osherove.com/img/wb/.asp.net_blogs_rosherove_WindowsLiveWriter_TheArtOfUnitTestingAvailabletoPurchaseOn_FAB2_image_1.png)](http://www.manning.com/affiliate/idevaffiliate.php?id=462_91) I'm happy to announce that you can now purchase my book [The Art Of Unit Testing](http://www.manning.com/affiliate/idevaffiliate.php?id=462_91) through the Manning Early Access Program. Currently, the first five chapters are available, but when you purchase the MEAP version you get the new chapters as they come in, before anyone else. Also, you can help make the book better and more accurate as a MEAP reader since the author forum can be used to discuss book topics you find interesting and I will be reading it at least twice a week (hopefully daily).

(If you plan on purchasing it or sending this to someone else, [please use this special affiliate link](http://www.manning.com/affiliate/idevaffiliate.php?id=462_91) so that I can know how many transactions occurred as well as generate a few dollars on every sale through the MEAP program)

- **What's with the ugly cover art?** I'm working on it. We had to have something to start putting this online. The final print will have something which I can actually stand behind.
- What are the first five chapters about?

The way I see it, the book is divided into several parts. the first part (chapters 1-5) are about the basic tools you need to know to start writing unit tests in the real world. Everything from working with NUnit and the basic attributes of unit tests, and up to using fake, stub and Mock objects. There is also quite a full reference for using the Rhino.Mocks framework. The idea is that you can take someone with no unit testing experience whatsoever in .NET, and have them read those five chapters. then they have the basic knowledge to actually know what you're talking about when you say "Mocks" or "integration testing". They may even be able to write some real world tests using these chapters, even interaction tests.

**Part I Getting started**
 **1.** [The basics of unit testing](http://www.manning-source.com/books/osherove/osherove_meapch1.pdf) - FREE
 **2.** The first unit test - AVAILABLE
**Part II Core techniques**
 **3.** Using Stubs to break dependencies - AVAILABLE
 **4.** Interaction testing Using Mock Objects - AVAILABLE
 **5.** Mock Object frameworks - AVAILABLE

## More in Agile

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

- Oct 8, 2007

    ### [The various meanings of TDD](https://osherove.com/blog/2007/10/8/the-various-meanings-of-tdd.html)

- Sep 27, 2007

    ### [Things I learned at JAOO 2007](https://osherove.com/blog/2007/9/27/things-i-learned-at-jaoo-2007.html)

- Sep 24, 2007

    ### [Slides and Demos for My Talk: Testing Data Access Code Pragmatically](https://osherove.com/blog/2007/9/24/slides-and-demos-for-my-talk-testing-data-access-code-pragma.html)

- Sep 22, 2007

    ### [Code-Reuse in unit tests is more important than you think](https://osherove.com/blog/2007/9/22/code-reuse-in-unit-tests-is-more-important-than-you-think.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/
