Skip to content
Pull request Compare This branch is 3984 commits behind yiisoft:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
framework
TestApplication.php
bootstrap.php
phpunit.xml
readme.txt
rununit.bat

readme.txt

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.
Something went wrong with that request. Please try again.