mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-19 17:11:23 +01:00
13 lines
433 B
Plaintext
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. |