Summary
Throughout this chapter, we very briefly scratched the surface of some of the most popular types of PHP application testing. The test driven development (TDD) and behaviour driven development comprise of a very large and important chunk of it. Luckily, the PHP ecosystem provides two excellent frameworks, PHPUnit and Behat, which makes these types of testing easy to work with. Although fundamentally different, PHPUnit and Behat complete each other in a sense that they ensure our application is tested both from the smallest unit of functionality to a logical outcome of overall functionality point of view. phpspec on the other hand seems to sit in the middle of the two, trying to address these two challenges in its own uniform way. We ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access