Friday, August 7, 2009

Mock Objects In Action at the Agile 2009 conference

How can mock objects help you design your system better? Want to know how mocking saved hours of work? We focus on establishing best practices based on examples with mock objects. We cover design of classes, using mock objects to understand and test interaction between objects of the system. By the end of the session it should become clear how mocking, when applied correctly helps with system design, improves testability by reducing cost of change. An explicit part of this session is dedicated to the Mocking top offenders. We talk with examples about bad usage of Mocks, and its consequences.



Sudhindra Rao and I will be presenting the Mock Objects in Action session at the Agile 2009 conference.

History of this session


I started conducting a session on mocking and testing when we was coaching a few developers. That session then turned into a training session conducted at ThoughtWorks internal training and was quite appreciated for its practicality. After a few additions to that sessions and adding mockito to the mix Sudhindra and I presented it at a couple of conferences. It was received with a lot of enthusiasm.

Recommended readings


Below is the list of recommended readings that I give to the session attendees. Please let me know what you would add to this list.

http://martinfowler.com/articles/mocksArentStubs.html
http://xunitpatterns.com/Mock%20Object.html
http://developer-in-test.blogspot.com/
http://misko.hevery.com/code-reviewers-guide/
http://codebetter.com/blogs/jeremy.miller/archive/2006/01/10/136407.aspx
http://www.jmock.org/oopsla2004.pdf


The demo code for this session will be available at: http://code.google.com/p/mocksamples/

15 comments:

Jeff Santini said...

How about

http://www.jmock.org/oopsla2004.pdf

Paper by the guys who wrote jmock and nmock

Patrick Kua said...

I would second what Jeff said as well. Definite "must read" substance.

Paulo Caroli said...

Thanks Jeff and Pat!
I have added the link to the blog post and will add to the ppt used at the conference.

Gil Zilberfeld said...

Hi Paulo,

My name is Gil Zilberfeld, from Typemock. We're adding an events page to the site, for events about unit testing.

Is it ok if we add your event to our page?
Please let me know at gilz AT typemock dot com.

Thanks, and good luck.

Gil

Maical clark said...
This comment has been removed by a blog administrator.
Maical clark said...
This comment has been removed by a blog administrator.
mike said...

I am not much into reading, but somehow I got to read lots of articles on your blog.
Its amazing how interesting it is for me to visit you very often :)
Please come visit my site
psoriasis treatment
when you got time.

mike said...

I found your blog on google and read a few Thanks for the information you mentioned here, I'm looking forward to see your future posts. Cheers !! Please visit my site copd symptoms when you got time.

Sumit Jain said...

nice blog. thanks for share. found some more Mock Tests...

angelyu said...

COMPAQ Presario 2131 Series Laptop Battery
COMPAQ Presario 2132 Series Laptop Battery
COMPAQ Presario 2133 Series Laptop Battery
COMPAQ Presario 2134 Series Laptop Battery
COMPAQ Presario 2135 Series Laptop Battery
COMPAQ Presario 2136 Series Laptop Battery
COMPAQ Presario 2137 Series Laptop Battery
COMPAQ Presario 2138 Series Laptop Battery
COMPAQ Presario 2139 Series Laptop Battery
COMPAQ Presario 2140 Series Laptop Battery

贝贝 said...

The Tax Return Crack-Up<3>
Granted, there are usuallyMicrosoft Office 2010write-ups when presidential contenders make their tax returns available, but the coverage falls far short of the Office 2010
full court press (pardon the pun) that the Clintons have received. What's Microsoft Office 2007different now?Office 2007One possibility is that most upper middle class Democrats, and therefore most Microsoft OfficeOffice 2007 keyeditors and reporters of our nation's big papers as well as Office 2007 downloadtelevision producers, are Obama supporters who think that Hillary should hurry up Office 2007 Professionaland drop out of the race already.Microsoft outlook
Microsoft outlook 2010Whom elite liberals are pulling for really does shape political coverage in ways

dte said...

The consequences of today are determined by the actions of the past scarlet blade gold. To change your future, alter your decisions today scarlet blade gold, Experience is a hard teacher because she gives the test first, the lesson afterwards scarlet blade gold, but it takes character to keep you there

dte said...

If I could rearrange the alphabet, I'd put Y and I together Runescape Gold, A lifetime of happiness! No man alive could bear it, Rune Scape Gold it would be hell on earth Buy Runescape Gold.

escortbayan said...

ataşehir escort - escort bayanlar ataşehir - ataşehir escortları - kadikoy escort - kadıköy escort - kızıltoprak escort - ataşehir escort - ataşehir bayan escort - escort ataşehir - bayan ataşehir escort - halkalı escort - beylikdüzü escort - izmir escort - izmir urla escort - güzelbahçe izmir escort - bornova escort - izmir tire escort - izmir escort bayanlar - izmir kızları - escort bayan - travesti - kadıköy travesti - kadıkoy travesti - kadikoy travesti - travesti kadıköy - ataşehir travesti - halkalı travesti - beylikdüzü travesti - beylikdüzü travesti

SaiRam S said...

As there is a stiff competion between the websites, the websites are now offering freejobalert along with other employment related info. I find more interesting information here...