O'Reilly logo

Pro PHP Refactoring by Jacopo Romei, Francesco Trucchia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required