or
Sign in to turn on 1-Click ordering.
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
Have one to sell? Sell yours here
or
Get a $4.04 Amazon.com Gift Card
Pragmatic Unit Testing in C# with NUnit, 2nd Edition
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pragmatic Unit Testing in C# with NUnit, 2nd Edition [Paperback]

Andy Hunt (Author), Dave Thomas (Author), Matt Hargett (Author)
4.2 out of 5 stars  See all reviews (13 customer reviews)

List Price: $29.95
Price: $22.76 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $7.19 (24%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Friday, September 10? Choose One-Day Shipping at checkout. Details
22 new from $18.49 27 used from $11.75
Textbook StudentJoin Amazon Student and get FREE Two-Day Shipping for one year with Amazon Prime shipping benefits.

Formats

Amazon Price New from Used from
Paperback $22.76  
Sell This Book Back for $4.04
Whether you buy it used on Amazon for $11.75 or somewhere else, you can sell it back to our Textbook Buyback Store at the current price of $4.04 through December 31, 2010. Restrictions Apply
Used Price$11.75
Buyback Price$4.04
Price after
Buyback
$7.71

Frequently Bought Together

Customers buy this book with The Art of Unit Testing: With Examples in .Net $26.39

Pragmatic Unit Testing in C# with NUnit, 2nd Edition + The Art of Unit Testing: With Examples in .Net
  • This item: Pragmatic Unit Testing in C# with NUnit, 2nd Edition

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • The Art of Unit Testing: With Examples in .Net

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Product Description

The NIST estimates that poor testing costs the US economy $60 billion annually. This book gives teams straightforward and proven ways to introduce unit testing into their process, resulting in higher quality and fewer bugs.

All over the world, software teams are using unit testing both to verify their code and as a way of helping them design better code. This book is unique in the way it covers two aspects: showing developers both how to test and helping them determine what to test.

New in the second edition:

  • Updated for NUnit 2.4 (.NET 2.0 and Visual Studio 2005)
  • More assert methods
  • New String and Collection assertion support
  • Better support for multiple-platform development
  • Higher-level setup and teardown fixtures
  • Whole new chapter on extending NUnit
  • and more!

About the Author

Dave Thomas and original co-author Andy Hunt are founders of the Pragmatic Programmers and the Pragmatic Bookshelf.


McGraw-Hill authors represent the leading experts in their fields and are dedicated to improving the lives, careers, and interests of readers worldwide

Product Details

  • Paperback: 239 pages
  • Publisher: Pragmatic Bookshelf; 2 edition (August 30, 2007)
  • Language: English
  • ISBN-10: 0977616673
  • ISBN-13: 978-0977616671
  • Product Dimensions: 8.8 x 7.5 x 0.8 inches
  • Shipping Weight: 11.2 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (13 customer reviews)
  • Amazon Bestsellers Rank: #641,307 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

What Do Customers Ultimately Buy After Viewing This Item?

Pragmatic Unit Testing in C# with NUnit, 2nd Edition
51% buy the item featured on this page:
Pragmatic Unit Testing in C# with NUnit, 2nd Edition 4.2 out of 5 stars (13)
$22.76
The Art of Unit Testing: With Examples in .Net
37% buy
The Art of Unit Testing: With Examples in .Net 4.7 out of 5 stars (25)
$26.39
Test-Driven Development in Microsoft .NET (Microsoft Professional)
5% buy
Test-Driven Development in Microsoft .NET (Microsoft Professional) 3.9 out of 5 stars (16)
$29.19
Microsoft .NET: Architecting Applications for the Enterprise (PRO-Developer)
4% buy
Microsoft .NET: Architecting Applications for the Enterprise (PRO-Developer) 4.7 out of 5 stars (27)
$29.69

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

13 Reviews
5 star:
 (8)
4 star:
 (2)
3 star:
 (2)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (13 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
17 of 18 people found the following review helpful:
5.0 out of 5 stars Clear and concise, June 27, 2005
By Scott D. Duncan (Chicago, IL USA) - See all my reviews
(REAL NAME)   
The message of this book is: responsible developers unit test, and it's easy to do, so do it! If you're tired of reading 800 page books that should've been 200 pages, then you will find this book a refreshing change. It gets straight to the point, explaining in an easy-to-read style how to unit test .NET applications, including how to install & use the popular NUnit & NMock tools. It also explains how to design effective unit tests, and what to do in common problem situations (such as incomplete requirements). It is a great first book on unit testing for .NET, but since it is a pragmatic guide it does not cover the more esoteric, quirky issues you may run into. It also does not discuss or promote test-driven development techniques and theories. It is strictly a nuts & bolts discussion of .NET unit testing with NUnit & NMock, but if you need to be unit testing today (not next month), then this is the book to get.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
33 of 40 people found the following review helpful:
1.0 out of 5 stars Over-extended and over-rated., March 23, 2008
This review is from: Pragmatic Unit Testing in C# with NUnit, 2nd Edition (Paperback)
I have to respectfully disagree with all the fawning reviews. It's a chatty, drawn out, tedious read, something of an accomplishment given the fact that it's only ~200 pages long. Frankly, anything more then something like the O'Reilly Pocket Reference is overkill on this subject. NUnit is a snap to use and the freely available documentation and tutorials are more than adequate and not nearly so time-consuming to digest.

The first passage that discusses actual test coding (~20 pages or so into the book) presents a simple case where a method should accept an integer array as a parameter and return the largest element. The book then explains how this function, if it behaves properly, should perform. A series of simple test cases are discussed before we get to the real toughie for all you computer scientists out there - a data set consisting of negative integers. A test vector consisting of the array [-9,-8,-7] is passed to the method and -7 is returned. The book explains 'It might look odd, but indeed -7 is larger than -9. We're glad we straightened that out now, rather than in the debugger or in production code where it might not be so obvious.'

ARE YOU KIDDING ME?!? Just what audience was this thing written for? One would have thought that that little gem wouldn't have been necessary... but in fact that is the tone of the entire book. Expect to have your hand held in this manner throughout. If that's the sort of thing that appeals to you, you'll love this one. If, on the other hand, you're trying to learn to incorporate NUnit testing into C# development in an efficient, professional manner, save your money and time and read the NUnit docs.

Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
6 of 6 people found the following review helpful:
3.0 out of 5 stars Good, but missing critical elements, June 27, 2008
By jeffery (Somewhere in Kansas, USA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Pragmatic Unit Testing in C# with NUnit, 2nd Edition (Paperback)
This is a decent getting started book, but it doesn't give good coverage of things such as NUnit projects or using app.config files with NUnit.

Unfortunately, this book isn't good as a stand-alone. I'll admit that it did help me get started, but it lacks so much that I can't give it more stars. A second volume that covers more advanced topics is suggested, or the next edition can add the missing parts.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars A concise introduction to .NET unit testing
This book is a slim one, just over 200 pages, and provides an easy introduction to writing unit tests. Read more
Published 7 months ago by B. G. Palin

3.0 out of 5 stars Good information, but a bit superficial
Overall, I found the book's advice to be generally correct and useful, albeit lacking in proper detail. Read more
Published 8 months ago by Honkeywrench

4.0 out of 5 stars Get better your code!!!
This is a good book for devs who wants to improve their code and make it more safer. There are a lot of examples and about the content i have to say that is very long.
Published 16 months ago by Ivan Diaz Bravo

5.0 out of 5 stars A Book Full of Practical Advice on Unit Testing
The book is packed with practical advice on unit testing. Why should you do unit testing, what do you need to know to write good tests, how do you know if you're writing good... Read more
Published on November 20, 2007 by Ahsan J. Sharafuddin

5.0 out of 5 stars Great introduction to writing unit test in C#
This is a great introduction to writing unit tests in C# with NUnit. The authors do a good job of explaining why unit tests should be created, how having unit tests are better... Read more
Published on September 30, 2007 by ueberhund

5.0 out of 5 stars The time is NOW
You keep hearing about it.
"Unit Testing, Unit Testing, Unit Testing"
The time is now. Stop talking about and start becoming a more responsible developer. Read more
Published on September 24, 2007 by S. Holliday

4.0 out of 5 stars Good book
If you are thinking about using NUnit, or (like me) are already using it but want to get some insight from those who have been using it a lot, this is a good book. Read more
Published on June 19, 2007 by Joseph Reddy

5.0 out of 5 stars Very Helpful
I was new to NUnit testing. After reading this book, I was able to complete my job quickly.
Published on July 14, 2006 by SamSheth

5.0 out of 5 stars Good introduction to NUnit
I was using NUnit within an hour of reading this book. I found it very easy to read. It has helped me transition into a Test Driven Development frame of mind... Read more
Published on July 12, 2006 by SSC

5.0 out of 5 stars Highly recommended for any programmer
he collaboration of andy Hunt and Dave Thomas (partners in The Pragmatic Programmers LLC, developers of complex software systems), Pragmatic Unit Testing in C# with NUnit is the... Read more
Published on September 7, 2004 by Midwest Book Review

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
Will this book ever publish? 0 July 2007
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   





Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.