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

Chapter 3. Entering Codeception

After the installation of Yii 2, as discussed in the previous chapter, in this chapter we will cover installation of the Codeception suite (http://codeception.com) and go through the folder structure to describe how Codeception works, its extensions, modularization, syntax, and the jargon used.

We will need to have a good grasp of its concepts and details as Codeception will become the main tool we will use to interact with our tests throughout the rest of this book. In this chapter, we will be covering the following topics:

  • Getting started with Codeception

  • Installing Codeception in Yii 2

  • Finding your way around Codeception

  • Interacting with Codeception

Note

Please keep in mind that the folder structure of Yii 2 might change when it reaches a stable release (which might be after the release of this book) and together with it, the structure used to organize tests. Always try to take notes and understand what you're looking at, since the way Codeception works and interacts...