C H A P T E R  6

image

Refactoring Tools

Without tools helping us with refactoring, doing a good job could be very difficult. We need a test framework to perform all refactoring activities and some automated tools to increase our productivity.

In this chapter we will see which features we should have in our integrated development environment (IDE) for our refactoring activities, and we'll see how to write unit tests with the PHPUnit testing framework and functional tests with Selenium. We'll see also how integrate the two tools through an extension of PHPUnit to completely automate the execution of our build test.

PHP IDE

In the PHP programming world ...

Get Pro PHP Refactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.