SPEAKER
WHEN
September 24th, 2011
From 17:20 to 18:05
WHERE
EUROSITE GEORGES V
Bruxelles
Enlarge map
September 24th, 2011
From 17:20 to 18:05
EUROSITE GEORGES V
Bruxelles
The aim of this talk is to show how to use the Dependency Injection pattern to write code that is easy to test and build applications whose behaviour can easily change at runtime by defining environments and different sets of configurations.
The source code of an example application will be analysed to show how to apply the Dependency Injection pattern.
The structure of the application will be explained using UML diagrams of the main classes, then the code of the application will be analysed thoroughly to show different approaches to the tests and the relative benefits and drawbacks.
Some of the modules used in the application are:
Moose
Test::More and Tests::Class
Class::Mop and Moose::Meta
Test::Cukes
Bread::Board