The Artima Developer Community
Sponsored Link

Agile Buzz Forum
OT2004 : Mock Objects: Driving Top-Down Development

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Joe Walnes

Posts: 151
Nickname: jwalnes1
Registered: Aug, 2003

Joe Walnes, "The Developers' Coach" from ThoughtWorks
OT2004 : Mock Objects: Driving Top-Down Development Posted: Mar 31, 2004 10:19 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Joe Walnes.
Original Post: OT2004 : Mock Objects: Driving Top-Down Development
Feed Title: Joe's New Jelly
Feed URL: http://joe.truemesh.com/blog/index.rdf
Feed Description: The musings of a ThoughtWorker obsessed with Agile, XP, maintainability, Java, .NET, Ruby and OpenSource. Mmm'kay?
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Joe Walnes
Latest Posts From Joe's New Jelly

Advertisement

Nat and I were first up with our talk on Mock Objects. Yes, we are still harping on about them :).

Here's what we covered:

  • OO concepts: an application is a web of collaborating objects, each providing a distinct responsibility and taking on multiple roles to provide services to other objects.
  • How the process of using mock objects complements TDD to drive out the design of these responsibilities and roles.
  • How our original usage of mocks for testing system boundaries such as databases, web-apps, GUIs, external libraries turned out to be a bad approach and the success we started achieving when inverting this to only mock types we can change.
  • The process of using mocks very quickly points out key abstractions in your system, difference in responsibilities between objects and services objects require.
  • Clearing up misconceptions about mocks, including: not using them at system boundaries and what they actually are (not stubs, not recorders, no behaviour).
  • Our first public demonstration of the new JMock API to walk through a single iteration of the process.
  • Usage patterns.

Feedback from: James Robertson @ Cincom Smalltalk and Mike Platt @ Microsoft.

Read: OT2004 : Mock Objects: Driving Top-Down Development

Topic: Win Event Logs to RSS Previous Topic   Next Topic Topic: Huh? Random Posting?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use