Treffen Sie uns auf einer Konferenz!

Verschaffen Sie sich einen Überblick, auf welchen Events unsere codecentric-Kollegen als Referenten vertreten sind. Wir würden uns freuen, Sie auf einer Konferenz persönlich begrüßen zu dürfen.

Fake It Outside-In TDD Workshop


I T.A.K.E Unconference

Radisson Blu Hotel, Bucharest, Calea Victoriei 63-81, Bukarest, Rumänien

“London School TDD” favors Outside-In Design to avoid over-engineered design (YAGNI) and to guide the choice of which test to implement next. This session presents an alternative approach to Outside-In TDD that has the same objectives but uses fake data instead of mocking. Starting from the assertion of an acceptance test, on an incremental destructuring journey down the call stack fake data is refactored one step at a time into code structure. The remaining “logic” is tackled with regular unit-test level TDD.

We start with theory and some screencasts to demonstrate the approach. Then we try it out in practice doing a mob programming session all together. In a following debrief we will discuss our observations, the strengths and weaknesses of the approach and the involved trade-offs.

You can improve your TDD workflow learning several new TDD techniques you can either apply separately or all of them combined in the “Fake It Outside-In TDD” approach. You will see how it gets easier to choose the next steps, to progress in ‘Baby Steps’ and to stay in the ‘green’ phase most of the time.

David VölkelDavid Völkel