Files
yii/tests/readme.txt
2011-02-23 13:51:40 +00:00

13 lines
433 B
Plaintext

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.