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.

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

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

Paulo Caroli

Paulo Caroli is an author, speaker, and consultant specializing in agile transformations, Lean Inception, and OKRs. With over 30 years of experience—including nearly a decade in Silicon Valley and 18 years at ThoughtWorks—he has helped organizations transition from project to product and from strategy to execution. Creator of the Lean Inception methodology and author of bestselling books like Lean Inception and Team OKR, Paulo is dedicated to empowering teams to align, validate, and deliver real business value.
CBSoft 2018 Keynote – Paulo Caroli

CBSoft 2018 Keynote – Paulo Caroli

It´s a honor to be the keynote speaker for the CBSoft 2018, the Brazilian Conference on Software. On this presentation I´ll talk about industry 4.0  and digital transformation. Lean StartUp, Minimum Viable Product (MVP), and the MVP canvas (shared on my Lean Inception...

read more

Pin It on Pinterest