Pitfalls in Test Authoring

Presenters: Dave Cleal & John Daniels (Syntropy)

Style: Workshop

Duration: 90 minutes

Dave & Johns thesis is that TDD is a good thing, provided you write the correct unit tests. Writing every test you can think of is apprentice behaviour: journeymen tend to write less tests but sometimes in the wrong way: masters are perfect.

They'll start by describing some tests they've written that were clearly the wrong thing. They'll encourage heckling and discussion. Then they'll invite the audience to split into groups and identify other tests they've written that could have been better structure. The focus will be on the anti-patterns that describe the unhelpful code. Each group will then present their best (worst?) examples to the rest of the workshop.

Prerequisites: Developers will need experience of TDD

About The Presenters:

Dave Cleal has been writing software for 25 years. He was an early adopter of OT within the UK, and has continued thinking about and improving software practice since. For the last few years he has been working as part of a dispersed agile team, using TDD and pair development remotely to program small devices (http://www.sunspotworld.com). He continues to develop software most days.

John Daniels was a pioneer of object and component technologies in the UK. During the nearly 30 years he has spent in the software industry he has split his time between building systems and improving the state of the art. His contributions include significant advances in object modelling and component systems design.

 

 

© Jason Gorman 2008