The Art of Unit Testing: With Examples in .Net

The Art of Unit Testing: With Examples in .Net

by
4.07 of 5 stars 4.07  ·  rating details  ·  201 ratings  ·  20 reviews
Unit testing, done right, can mean the difference 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 guid...more
Paperback, 320 pages
Published July 5th 2009 by Manning Publications (first published June 28th 2009)
more details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.
This book is not yet featured on Listopia. Add this book to your favorite list »

Community Reviews

(showing 1-30 of 461)
filter  |  sort: default (?)  |  rating details
Rene Stein
Kniha, kterou bych si chtěl přečíst v době, kdy jsem s různými formami unit/integračních testů začínal.
Pregnantní vyjadřování, zaujatost tématem a podrobné informace k UT jsou hlavní charakteristiky této knihy.

Knihu ocení nejen úplní začátečnící, ale v dalších kapitolách i vývojáři, kteří chtějí zkonfrontovat své poznatky o unit testech s někým dalším a na své si přijdou i ti, kdo hledají argumenty, proč unit testy alespoň v nějaké základní podobě ve firmě i přes odpor kolegů nebo vedení zavést,...more
Tom Panning
An excellent book on the part of unit testing that very few other resources even acknowledge: maintenance. When I've tried unit tests I've always had trouble once I needed to change functionality (and therefore the unit tests). This book finally 1) confirmed that I'm not crazy, this is a real problem that you have to address; and 2) provided the techniques to make change coexist with unit tests.
Brannon
This is a decent book on unit testing in .NET. I enjoyed that it explained the Rhino "recorder" unit test paradigm as well as the more straight-forward preregistration techniques of the Moq framework. It covers the standard unit test patterns like mocks, stubs, and AAA.
David Espley
Good tips and tricks for TDD and Unit testing. I am very careful when recommend this book to junior developers as I prefer to practice IOC in my designs and Roy seems to believe that the two disciplines are better learned independently. I think TDD is a lot easier to teach within the confines of SOLID and IOC

Matteo Tomasulo
Must-have book. Unit testing is the basic of agile development and this book is a nice introduction to the rudiment of that technique.
Roy
Jan 27, 2013 Roy rated it 3 of 5 stars  ·  (Review from the author)
I am the author, so.. I think I like it! but the 2nd edition fixes things in the first edition that today I disagree with.
Alexander Kiryushin
The excellent book about unit-testing! Nice ideas and good examples. I recommend it to everyone especially to .NET developers.
Martin Hollingsworth
Solid introductory book for unit testing. Easy reading, which is an achievement in itself for the subject matter.
Matt
Great book, really opened my eyes to some of the different ways of testing.
Martin Owen
Highly recommended guide to writing readable, maintainable unit tests.
Ward Bell
Wrote a review on my blog and posted on Amazon
Lisandro
The chapter about answering hard questions is invaluable I you trying to bring unit test to be used! Wish I had read this book back in the day!
Trung Vo
- Give the basic concepts of Unit testing plus explanations of unit testing tools. However, I'm interested in more in techniques and best practices of unit testing
Dmitri Nesteruk
Good for beginners only.
Jesper Benson
This is a great introductory book. The book is mostly about how to write unit tests that are maintainable. Topics that are also covered are how to write integration tests, and how to use isolation frameworks.
Test Driven Development is touched on, as is working with legacy code.
The book is well written and the author suggests further reading when appropriate.
Ahmed
Jan 28, 2012 Ahmed rated it 5 of 5 stars
Shelves: tech
An essential definition of what unit testing is, if you did not read any book about unit testing.

Apart from the basics in the first chapters, the most important part is part four in how to convince a specific community about how unit testing can change their way of developing applications, and the commonly asked questions about unit testing.
Craig Vermeer
I did a lot of skimming in the first half of the book, but got more out of the second half.

If you're new to, inexperienced with, or have had bad experiences with Unit Testing this book is a great primer.
stan
Well written, a lot of good examples and techniques. The Mocking part was not written the clearest, and he tries to push his own commercial offerings, but other than that it's a great book.
Ronald
Despite the fact that I am not a .NET programmer, the techniques and practices translate well to other languages.
Alf Kåre Lefdal
Good overview and good details on everything related to unit testing.
Helen
May 22, 2013 Helen is currently reading it
Alfredo Cavalcanti
May 20, 2013 Alfredo Cavalcanti marked it as to-read
« previous 1 3 4 5 6 7 8 9 15 16 next »
There are no discussion topics on this book yet. Be the first to start one »
The Art of Unit Testing: With Examples in .NET (Paperback)

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Notes to a software team leader From chaos to self organization: Growing effective software teams Beautiful Builds Elastic Leadership for Software Teams

Share This Book

Your website