"You want me to test this !?!?" - Lessons learned from testing legacy code*
In this talk I'll explore stategies for getting testing going inside your project, drawing upon experiences of making legacy code more testable.
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 stategies for getting testing going inside your project, drawing upon experiences of making legacy code more testable.
John Mertic is a senior software engineer and serves as the partner and community developer liaison at SugarCRM, having several years of experience with PHP web applications. At SugarCRM, he has specialized in data integration, mobile and user interface architecture. An avid writer, he has been published in php|architect, IBM Developerworks, and in the Apple Developer Connection, and is the author of the book ‘The Definitive Guide to SugarCRM: Better Business Applications’. He has also contributed to many open source projects, most notably the PHP project where is the creator and maintainer of the PHP Windows Installer.