The Art of Unit Testing builds on top of what's already been written about this important topic. It guides you step by step from simple tests to tests that are maintainable, readable, and trustworthy. It covers advanced subjects like mocks, stubs, and frameworks such as Typemock Isolator and Rhino Mocks.
About the Author The chief architect at Typemock, Roy Osherove is one of the original ALT.NET organizers. He consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He frequently speaks at International conferences such as TechEd and JAOO.
Table of Contents - Part 1: Getting Started
- Chapter 1: The Basics of unit testing
- Chapter 2: A first unit test
- Part 2: Core Techniques
- Chapter 3: Using stubs to break dependencies
- Chapter 4: Interaction testing using mock objects
- chapter 5: Isolation (mock object) frameworks
- Part 3: The Test Code
- Chapter 6: Test hierarchies and organization
- Chapter 7: The pillars of good tests
- Part 4: Design and Process
- Chapter 8: Integrating unit testing into the organization
- Chapter 9: Working with legacy code