Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
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.

The Art of Unit Testing: With Examples in .Net [Paperback]

Roy Osherove
4.3 out of 5 stars  See all reviews (3 customer reviews)
List Price: CDN$ 49.99
Price: CDN$ 26.30 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 23.69 (47%)
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
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Wednesday, May 22? Choose One-Day Shipping at checkout.
There is a newer edition of this item:
The Art of Unit Testing: With Examples in .NET The Art of Unit Testing: With Examples in .NET
CDN$ 30.23
Available for Pre-order

Book Description

July 5 2009

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 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.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Table of Contents

  1. The basics of unit testing
  2. A first unit test
  3. Using stubs to break dependencies
  4. Interaction testing using mock objects
  5. Isolation (mock object) frameworks
  6. Test hierarchies and organization
  7. The pillars of good tests
  8. Integrating unit testing into the organization
  9. Working with legacy code

Frequently Bought Together

The Art of Unit Testing: With Examples in .Net + Dependency Injection in .NET + Clean Code: A Handbook of Agile Software Craftsmanship
Price For All Three: CDN$ 91.97

Show availability and shipping details

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

  • Dependency Injection in .NET CDN$ 32.92

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

  • Clean Code: A Handbook of Agile Software Craftsmanship CDN$ 32.75

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


Customers Who Bought This Item Also Bought


Product Details


Product Description

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. Roy's blog is at http://www.ISerializable.comISerializable.com.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

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

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
2 star
0
1 star
0
4.3 out of 5 stars
4.3 out of 5 stars
Most helpful customer reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars Very Beneficial Dec 18 2009
Format:Paperback
As a developer with moderate TDD experience, this book introduced new concepts in addition to reinforcing what I already knew about unit testing. It made me feel safer with some of the "good" techniques we already used in our unit tests in addition to making me realize potential design enhancements that can applied to both unit tests as well as production code.

I mostly liked how it is concise and straight to the point with clear examples. The author mentions a concept then directly displays a clear example followed by an explanation of the example. With less than 300 pages and a nicely organized material, this book is enjoyable and quick to read.

I truly think every developer should read this book before starting to write unit tests.

I will definitely be looking into more Manning books...
Was this review helpful to you?
2 of 3 people found the following review helpful
3.0 out of 5 stars Good for beginners July 19 2009
Format:Paperback
The book is very good for beginners, but not for those who already practise TDD on a daily basis. The book goes into AAA style of testing, but it's entirely missing BDD examples (which is unfortunate, but not a show stopper for someone who just in the beginning.
The book does go into mocking and interaction testing. As well as covers a few important things about proper maintenance of test code and how to achieve it.
Was this review helpful to you?
1 of 2 people found the following review helpful
5.0 out of 5 stars Must-Have Books for your shelf Mar 7 2009
Format:Paperback
It's been a long time that I have not read a book as captivating from beginning to end. Many concepts are discussed which I have not seen in any other book about unit testing such as the integration tests as well as advanced features such as Rollback for unit test on database.

This book should be in my opinion the first book to read on unit tests throughout because as I read, "light go on" occurs page after page, chapter after chapter.

I just finished reading the book and after I will have apply all the knowledge I learned and look many of references, I will surely read the book again. Like for a good movie, I wish I will see details I did not see the first time.

The author have definitely a rare talent to know how to communicate his knowledge to the same level as Steve McConnell in Code Complete.

If Roy wrote another book, I will certainly buy it with the hope that it will be as excellent as this.
Was this review helpful to you?
Want to see more reviews on this item?
Search Customer Reviews
Only search this product's reviews

Listmania!


Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges