Testing a PHP web application is relatively easy when it designed to be "testable", with none of those ugly things such as excessive use of the global scope, lots of procedural code, and plenty of nested objects. Rarely do we step into such a project, making it difficult for developers to start making strides in adding automated testing to legacy code like this. In this talk I'll explore strategies for getting testing going inside your project, drawing upon experiences of making legacy code more testable.