Summary
In this chapter, we took a look at the testing facility embedded in Magento through the libraries in the root dev/tests/ directory
and the Magento_Developer
module. We learned how to run all of its test types and studied a simple example of writing our own unit tests. The examples that are given here do not do justice to PHPUnit, given its robustness. More information on PHPUnit can be found at https://phpunit.de/.
We will now move on to the final chapter of this book, where we will reiterate the things that we learned so far and develop a functional miniature module that involves some basic testing.