Session_06

XP Day 2003 logo
Mock Objects is a programming technique for Test-Driven Development. It allows a programmer to focus on the interactions between objects, rather than their state, and test an object's behaviour without exposing its internal structure. It also provide a mechanism for decoupling unit tests from system infrastructure, such as databases, so that tests run faster and the code is more portable.

This session is intended for programmers who are interested in finding out more about Test-Driven Development with Mock Objects, it is not an introduction to Test-Driven Development. I will demonstrate the technique in Java and C#, including an introduction to the new dynamic mock libraries for both languages. The bulk of the presentation will be a live demonstration of coding with Mock Objects.