|
|
Tutorial: "Test Driven Development"
Time:
Wednesday 09:00 - 16:00
Location:
Bayside 203
Abstract:
This tutorial demonstrates the development of a small example
application using test-driven development and related technologies. The
system will comprise a handful of Java classes that exemplify typical
components found in enterprise applications, including domain objects
and a service layer. The tutorial is structured into three ‘iterations’
which cover
- state-based testing with JUnit
- interaction-based testing with JUnit and jMock
- deployment in lightweight containers such as PicoContainer and Spring.
The iterations not only introduce the concepts but also provide room
for the discussion of trade-offs and edge cases, e.g. how to deal with
testing private methods and when not to use dynamic mocks but fake
objects. The implementation will make use of the Dependency Injection
pattern and the last iteration examines how this is supported by
lightweight containers.
Attendees gain an understanding of how proper use of test-driven
development fosters good design; through decoupling and interface
discovery for example. Attendees will also gather a nice catalogue of
the most commonly used patterns used in conjunction with test-driven
development.
|
Erik Dörnenburg, ThoughtWorks
Erik Dörnenburg is an application architect and developer at ThoughtWorks Inc., where he is helping clients with the design and implementation of large-scale enterprise solutions. Building on his experience with J2EE, Microsoft .NET and other environments, Erik is continually exploring new patterns of enterprise software.
Before joining ThoughtWorks Erik was Technical Director at Pixelpark UK, a new media company, where he integrated enterprise systems with web-based solutions and a variety of digital delivery channels. His career in enterprise software began in the early nineties on the NeXTSTEP platform and Erik has been an advocate of agile, test-driven, object-oriented development and Open Source software for many years. He holds a degree in Informatics from the University of Dortmund and has studied Computer Science and Linguistics at the University College Dublin.
Martin Fowler, ThoughtWorks
Martin Fowler is an author, speaker, consultant and general loud-mouth on software development.
He concentrates on designing enterprise software - looking at what makes a good design and what practices are needed to come up with good design. He has pioneered object-oriented technology, refactoring, patterns, agile methodologies, domain modeling, the Unified Modeling Language (UML), and Extreme Programming.
He's the Chief Scientist at ThoughtWorks - an international application development company, and has written five books on software development: Analysis Patterns, UML Distilled (now in its 3rd edition), Refactoring, Planning Extreme Programming (with Kent Beck), and Patterns of Enterprise Application Architecture. I also write articles regularly on my site at Martin Fowler.
|
 |
| |