The Art of Unit Testing
with Examples in .NET
Roy Osherove

May, 2009 | 320 pages
ISBN: 1933988274
$39.99 Softbound print book - (includes free ebook)
$24.99 PDF ebook

 

Resources

 Look Inside Resources Downloads

DESCRIPTION

Unit testing, done right, can mean the diff erence between a failed project and a successful one, between a maintainable code base and a code base that no one dares touch, and between getting home at 2 AM or getting home in time for dinner, even before a release deadline.

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. And you'll learn about advanced test patterns and organization, working with legacy code and even untestable code. The book discusses tools you need when testing databases and other technologies. It's written for .NET developers but others will also benefit from this book.

WHAT'S INSIDE:

About the Authors

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. Roy's blog is at ISerializable.com.

WHAT REVIEWERS ARE SAYING

The Art of Unit Testing provides a thorough, incremental introduction to writing tests as part of the programming process. Programmers looking to write their first test will find easy-to-follow instructions, while those who have been testing for a while will find ideas for refining their technique.”
—Kent Beck, Three Rivers Institute

“Beautifully crafted, detailed unit testing masterpiece. Bravo, Bravo, Bravo!”
—Mohammad Azam, Microsoft MVP, HighOnCoding

“This book tells all the truth about unit testing, even the unpleasant side of it.”
—Franco Lombardo, Molteni Informatica

“Roy knows testing.”
—Wendy Friedlander, Agile Solutions

“Unit testing, directly from theory to practice.”
—Francesco Goggi, Software Engineer

“You'll find in this book all you need to quickly get up and running with unit testing. I've enjoyed the chapter on test code organization and refactoring; and the one on making your team/company embrace unit testing. Distilled experience. My rating: 5/5”
Alessandro Gallo, author ASP.NET Ajax in Action