Google News
logo
Yii framework - Interview Questions
What about Unit Tests in Yii framework?
A unit test verifies that a single unit of code is working as expected. That is, given different input parameters, the test verifies the class method returns expected results. Unit tests are usually developed by people who write the classes being tested.
 
Unit testing in Yii is built on top of PHPUnit and, optionally, Codeception so it's recommended to go through their docs :
 
Advertisement