Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
35 used & new from $14.95

Have one to sell? Sell yours here
 
   
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 yours here.
 
  

Pragmatic Unit Testing in C# with NUnit, 2nd Edition (Paperback)

by Andy Hunt (Author), Dave Thomas (Author), Matt Hargett (Author)
4.3 out of 5 stars See all reviews (11 customer reviews)

List Price: $29.95
Price: $19.77 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.18 (34%)
Usually ships within 9 to 14 days.
Ships from and sold by Amazon.com. Gift-wrap available.

20 new from $18.78 15 used from $14.95
Also Available in: List Price: Our Price: Other Offers:
Paperback (Illustrated) 12 used & new from $12.95

Best Value

Buy Practical Perforce and get Pragmatic Unit Testing in C# with NUnit, 2nd Edition at an additional 5% off Amazon.com's everyday low price.

Practical Perforce + Pragmatic Unit Testing in C# with NUnit, 2nd Edition
Buy Together Today: $45.15

One of these items ships sooner than the other. Show details

  • Practical Perforce

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

  • This item: Pragmatic Unit Testing in C# with NUnit, 2nd Edition

    Usually ships within 9 to 14 days.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Test-Driven Development in Microsoft  .NET (Microsoft Professional)

Test-Driven Development in Microsoft .NET (Microsoft Professional)

by James W. Newkirk
4.0 out of 5 stars (15)  $35.23
NUnit Pocket Reference (Pocket Reference (O'Reilly))

NUnit Pocket Reference (Pocket Reference (O'Reilly))

by Bill Hamilton
4.7 out of 5 stars (3)  $9.95
Test Driven Development: By Example (Addison-Wesley Signature Series)

Test Driven Development: By Example (Addison-Wesley Signature Series)

by Kent Beck
3.9 out of 5 stars (32)  $40.49
Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)

by Andrew Troelsen
4.4 out of 5 stars (56)  $37.79
Code Complete: A Practical Handbook of Software Construction

Code Complete: A Practical Handbook of Software Construction

by Steve McConnell
4.8 out of 5 stars (106)  $31.49
Explore similar items

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
Andy Hunt and Dave Thomas have more than 50 years combined experience, developing software for clients around the world. For the last 10 years they've been working together as The Pragmatic Programmers, helping clients write software and improve their development processes. They are authors of the best-selling The Pragmatic Programmer, and have written three other books. They speak at conferences globally, and are editors of the IEEE Software's Construction column.

Andy Hunt and Dave Thomas have more than 50 years combined experience, developing software for clients around the world. For the last 10 years they've been working together as The Pragmatic Programmers, helping clients write software and improve their development processes. They are authors of the best-selling The Pragmatic Programmer, and have written three other books. They speak at conferences globally, and are editors of the IEEE Software's Construction column.

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.3 out of 5 stars See all reviews (11 customer reviews)
  • Amazon.com Sales Rank: #242,190 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #75 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Testing

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

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

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

 
15 of 16 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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
23 of 29 people found the following review helpful:
1.0 out of 5 stars Over-extended and over-rated., March 23, 2008
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.

Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 2 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
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

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 2 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 19 months ago 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 21 months ago 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 21 months ago 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

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  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
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


$15 Off Olay, Pantene, and More

$15 Off Olay, Pantene, and More
This July, enjoy an extra $15 off select skin and hair care from favorite brands such as Olay, Pantene, Secret, and Ivory.

Shop this offer now

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

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.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
$0.00
Glenn Beck's Common Sense
Glenn Beck's Common Sense by Glenn Beck
$6.59
Glenn Beck's Common Sense
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich
$9.99

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates