Summary

In this chapter, we came to appreciate the breadth and the quality of Codeception.

We've seen the three types of tests, namely unit, functional, and acceptance, which we'll be using throughout the rest of the book. We've also touched some additional features provided by the tool and by the Yii 2 Codeception module. We've learned how to interact with it, generate tests, and deal with debugging and keeping the test databases in sync with the database of the main application.

In the next chapter, we're going to start refactoring our User class, adding our tests first and progressing through all the most important PHPUnit features.

Tip

Downloading the example code

You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset