This workshop introduces techniques for testing and refactoring legacy code. Dealing with legacy code is a frequent task for developers. To reduce the risk of introducing new bugs while working on legacy code, learning the techniques is an essential ingredient to increasing productivity. After the workshop you should be able to work with legacy code more effectivly.
Topics covered in this course block include:
Static Dependencies
Global State
Mutability of State
Missing Abstractions
From the Outside with Behat
From the Inside with PHPUnit
Breaking up Dependencies
Branch by Abstraction
Extract Method/Class/Package
Length: 1 day
Prerequisites:
Basic Knowledge of PHPUnit or Behat
Related course blocks: