Files
yii/tests
2011-03-14 00:28:38 +00:00
..
2011-03-14 00:28:38 +00:00
2011-02-18 15:25:38 +00:00
2011-02-18 15:25:38 +00:00
2011-02-18 15:25:38 +00:00
2011-02-18 15:25:38 +00:00

This folder contains unit tests of Yii framework.
PHPUnit 3.5+ and xdebug (for code coverage report) are required.

To run a single unit test, use:
>> phpunit path/to/test.php

To run all tests under a directory, use:
>> phpunit --verbose path/to/tests/directory

To generate code coverage report:
>> phpunit --coverage-html reports path/to/tests/directory/or/test/class

Please use 'phpunit --help' to see more command line options.