The Art Of Unit Testing - Available to Purchase Online Now

image I'm happy to announce that you can now purchase my book The Art Of Unit Testing through the Manning Early Access Program. Currently, the first five chapters are available, but when you purchase the MEAP version you get the new chapters as they come in, before anyone else. Also, you can help make the book better and more accurate as a MEAP reader since the author forum can be used to discuss book topics you find interesting and I will be reading it at least twice a week (hopefully daily).

(If you plan on purchasing it or sending this to someone else, please use this special affiliate link so that I can know how many transactions occurred as well as generate a few dollars on every sale through the MEAP program)

 

  • What's with the ugly cover art? I'm working on it. We had to have something to start putting this online. The final print will have something which I can actually stand behind.
  • What are the first five chapters about?

The way I see it, the book is divided into several parts. the first part (chapters 1-5) are about the basic tools you need to know to start writing unit tests in the real world. Everything from working with NUnit and the basic attributes of unit tests, and up to using fake, stub and Mock objects. There is also quite a full reference for using the Rhino.Mocks framework. The idea is that you can take someone with no unit testing experience whatsoever in .NET, and have them read those five chapters. then they have the basic knowledge to actually know what you're talking about when you say "Mocks" or "integration testing". They may even be able to write some real world tests using these chapters, even interaction tests.

Part I Getting started
 1. The basics of unit testing - FREE
 2. The first unit test - AVAILABLE
Part II Core techniques
 3. Using Stubs to break dependencies - AVAILABLE
 4. Interaction testing Using Mock Objects - AVAILABLE
 5. Mock Object frameworks - AVAILABLE

Published Wednesday, September 26, 2007 11:49 AM by RoyOsherove

Comments

Wednesday, September 26, 2007 2:27 PM by Andy Glover

# re: The Art Of Unit Testing - Available to Purchase Online Now

I can't wait to read this. Way to go!

Wednesday, September 26, 2007 4:25 PM by Jason Pettys

# re: The Art Of Unit Testing - Available to Purchase Online Now

If I buy the "Print book + Ebook Combo" does that mean I get access to the PDF's now, and then they send me a copy of the print book when it's done?

Wednesday, September 26, 2007 7:11 PM by todd brooks

# re: The Art Of Unit Testing - Available to Purchase Online Now

Roy,

I'm a big fan of the Manning MEAP program (NHibernate in Action and C++ in Depth), so I'm happy to hear that your book is now being offered.  Purchased it this afternoon and am looking forward to reading it tonight.  Congrats!

Wednesday, September 26, 2007 8:16 PM by Chris Carter

# re: The Art Of Unit Testing - Available to Purchase Online Now

Whoa whoa whoa whoa.... WTF? That wasn't the cover I picked!! Where's the cover I picked??

:) Good job, I plan on picking up a copy anyway

Wednesday, September 26, 2007 11:22 PM by Mo Khan: My Blog!

# Great Obstacles

Thursday, September 27, 2007 3:02 AM by Thomas V.

# re: The Art Of Unit Testing - Available to Purchase Online Now

Great News! Downloading it now ;-)

Thursday, September 27, 2007 7:11 AM by RoyOsherove

# re: The Art Of Unit Testing - Available to Purchase Online Now

Jason - yep. You get the best of both worlds.

# Yarnkep.Com » The Art Of Unit Testing - Available to Purchase Online Now

Pingback from  Yarnkep.Com » The Art Of Unit Testing - Available to Purchase Online Now

Thursday, September 27, 2007 4:09 PM by Arnon Rotem-Gal-Oz

# re: The Art Of Unit Testing - Available to Purchase Online Now

Congratulations

Thursday, September 27, 2007 8:26 PM by David White

# re: The Art Of Unit Testing - Available to Purchase Online Now

I understand that buying the eBook will get me the chapters as they are written (presumably in "Unedited Draft" format, as with chapter one?). Will I also receive the final complete book, in "RTM" form (ie with all edits completed)?

BTW, I'm impressed with it so far. Your first sentence is an excellent hook.

Thursday, September 27, 2007 8:40 PM by RoyOsherove

# re: The Art Of Unit Testing - Available to Purchase Online Now

David: There are two possible purchases. one is only MEAP + Ebook which gets you the chapters as they arrive and the final version of the book as an E Book with all the edits.

The 2nd option is the same with the added print edition of the book when it arrives.

Thanks for the kind words!

Friday, September 28, 2007 7:20 AM by Chua Wen Ching

# re: The Art Of Unit Testing - Available to Purchase Online Now

Hi. Are you writing this using C# 3.0 and LINQ? And are you using unit testing part of VS 2008 beta 2 or nunit 2.4.3?

Thanks.

# Protye.Com » The Art Of Unit Testing - Available to Purchase Online Now

Pingback from  Protye.Com » The Art Of Unit Testing - Available to Purchase Online Now

Wednesday, October 03, 2007 5:45 PM by Johanna Rothman

# re: The Art Of Unit Testing - Available to Purchase Online Now

Congratulations!

# ThemePassion - Best stuff about design! » The Art Of Unit Testing - Available to Purchase Online Now

Pingback from  ThemePassion - Best stuff about design! » The Art Of Unit Testing - Available to Purchase Online Now