Responsibility Driven Design met jMock
Responsibility Driven Design is een term bedacht door Rebecca Wirfs-Brock en
gaat over goed OO ontwerp. Bij OO ontwerp is het de kunst om de juiste
verantwoordelijkheid bij de juiste objecten te leggen en zo een helder ontwerp
met losse koppeling en hoge cohesie te bouwen.
Test Driven Development (TDD) stuurt je die richting op, maar nog niet
helemaal. Het helpt om los gekoppelde elementjes te krijgen, aangezien te veel
koppelingen het test-code-refactor ritme in de weg zitten.
Testen met mocks gaan een stap verder. De focus verschuift van de toestand
van objecten naar interacties - de boodschappen die tussen objecten worden
verstuurd. Testen met mocks legt dus de nadruk op gedrag. In deze sessie met
live programmeer-demonstratie laten we zien hoe het jMock framework (www.jmock.org) je helpt om niet state-based maar
responsibility-based te ontwikkelen en hoe dit het tell, don't ask principe
afdwingt.
- Leer hoe mockobjecten je TDD-discipline een stap
verder kunnen brengen
- Zie in hoe gedrag-gestuurde tests je ontwerp kunnen
verbeteren
- Leer een
domeinspecifieke taal voor het beschrijven van verwachtingen op gedrag van
objecten
Download de presentatie (962 Kb)

|
Marc Evers QWAN Marc works as an independent coach, trainer and consultant in the field of (agile) software development and software processes. Marc develops true learning organizations that focus on continuous reflection and improvement: apply, inspect, adapt.
Marc also organizes workshops and conferences on agile and lean software development, extreme programming, systems thinking, theory of constraints, and effective communication. Marc is co-founder of the Agile Open and XP Days Benelux conferences.
Marc knows how to combine his real-world experience with knowledge that is out there to create novel solutions. He likes to add games to highly-rated workshops, so participants have fun and learn from experience.
|

|
Rob Westgeest QWAN After years of experience with Object Oriented Software Development with UML, several development processes and project approaches as developer, trainer and project leader, Rob worked on his first XP project in 2000. And with great success! He supports projects and people in the application of agile practices, principles and values since then. Rob develops himself and others continuously by visiting, organising and hosting workshops at conferences and user group meetings like SPA, XP Days, XP-NL and Agile Open.
Rob explains hard problems in a simple way, so the problems and the solutions are easy to fathom. He is able to let others experience what he learned quickly, and so doing guides teams around pitfalls. His enthusiasm and sense of humour makes it a great pleasure to work with Rob.
|
|
| |