Test-Driven Refactoring

We never get it right the first time. So we refactor. But how can we refactor legacy code, when there are no automated tests (or not enough, at least) to make sure that we don not break things? Turns out that you can: using characterization tests, we can make sure that we do not inadvertenly modify the code's behaviour. This talk will introduce a methodology to refactor legacy code that has no automated tests. Rather than talking theory, we will work hands-on with a code example.

Slide 1 von 61

PDF

About the speaker

Stefan Priebsch
Stefan Priebsch
Twitter LinkedIn Xing
Share presentation
Setting up HTTPS is easy: what are you waiting for? Testen mit PHPUnit