Summary
In this concluding chapter, you learned how important it is to coordinate the business with the application. For this, you saw what BDD is and how to implement it with your PHP web applications using Behat and Mink. This also gives you the ability to test the UI with web drivers, which you could not do it with unit tests and PHPUnit. Now, you can make sure that not only is your application bug-free and secure, but also that it does what the business needs it to do.
Congratulations on reaching the end of the book! You started as an inexperienced developer, but now you are able to write simple and complex websites and REST APIs with PHP and have an extensive knowledge of good test practices. You have even worked with a couple of famous PHP frameworks, so you are ready to either start a new project with them or join a team that uses one of them.
Now, you might be wondering: what do I do next? You already know the theory—well, some of it—so we would recommend that you practice...