Synaesthesia: Listening to the Tests

SteveFreeman and Nat Pryce

Developer Community Track
Scheduled Time: 
Monday 19 November 2007, 01:30 to 03:00
Room: 
Southwark Cathedral, The John Trevor Williams Room
Session type: 
tutorial
Laptop required
Intended audience and experience level: 

Technical staff with experience of TDD.

Prerequisites: 

None.

This tutorial is about how to use the stresses of writing unit tests to improve your code. If I’m having trouble writing tests, it’s often because the design of my target code can be improved. The trick is to listen to the tests and let them drive my development — that’s why it’s called Test-Driven Development. You too can learn how to find the rough edges in your tests and use them for rapid feedback about the quality of your code.

Bring some examples on a USB stick and we can work through them.

This tutorial will work through examples of “smelly” tests, showing how they highlight design flaws and suggest improvements.

This material was first presented at InfoQ 2007, and has since been reworked on http://www.mockobjects.com

AttachmentSize
ListeningtoTestSmells_XPDayLondon2007.pdf1.62 MB

SteveFreeman

Steve is a pioneer of Agile software development in the UK, he has built applications for banks, ISPs, financial data providers, and specialist software companies. He has given training courses in Europe , America, and Asia. Previously, he worked in research labs, software houses, earned a PhD, and wrote shrink-wrap software. Steve has also taught at University College London. He is a presenter and organizer at international industry conferences, and was conference chair for the first London XpDay.

Nat Pryce

This presenter hasn't provided a bio yet.