In this chapter, we learned testing types, the importance of automated testing, and wrote API tests for our RESTful web service endpoints. One thing I again want to say here is that we wrote only API tests to keep our focus on our topic but unit testing is of no less importance. However, testing is a huge topic and unit testing has its own complexity, so couldn't be discussed in this one chapter.
Summary
More resources
If you want to know more about automated testing in PHP, then here are some important resources:
Test Driven Laravel (Video course by Adam Wathan) https://adamwathan.me/test-driven-Laravel/, however this is mainly focused on Laravel. But still, this will teach you important things.
Similarly, there is Laravel...