O'Reilly logo

PHP Master by Matthew Turland, Lorna Mitchell, Davey Shafik

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

Chapter 7Automated Testing

Few useful web applications have a trivial design; most have a set of “moving parts” that are integrated to form the end product. As the functionality and features of a product change, so does its definition of intended or correct behavior. The purpose of automated testing is to assure that an application’s intended behavior and its actual behavior are consistent over its lifetime.

There are several types of testing, each targeting a specific aspect of an application. This chapter will introduce you to each type of test, as well as the software and processes needed to implement them in your own projects.

Unit Testing

The first step in testing an application is to ensure that its individual components behave correctly, ...

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