WebTestCase

Extends \CWebTestCase

The base class for functional test cases.

In this class, we set the base URL for the test application. We also provide some common methods to be used by concrete test classes.

Methods

Sets up before each test method runs.

setUp() 

This mainly sets the base URL for the test application.