Book Image

Learning Yii Testing

Book Image

Learning Yii Testing

Overview of this book

Table of Contents (16 chapters)
Learning Yii Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.