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

Understanding the work to be done


In the scope of our work, we're going to introduce PHPUnit by first discussing the User model, how the authentication method works in Yii, and how it's going to be used in our specific case.

After that, we will sketch our tests to cover all possible uses of the User class, refactor the model, and then aim to get the test passed.

The current state of the framework that we have installed is not good enough for the features we want to implement.

As underlined in the previous chapters, we're going to follow a TDD approach for this first part.