Failed to load latest commit information.
assets Fix gitignore files Feb 16, 2012
framework added test for markdown parser UTF8 compatibility Aug 22, 2016
TestApplication.php improved unit tests Feb 18, 2011
TestHttpRequest.php #517 Fix rule parameter sub-pattern check. Mar 17, 2012
bootstrap.php ignore deprecation errors in PHP 7.1 and above Dec 5, 2016
phpunit.xml improved unit tests Feb 18, 2011
readme.txt Revert "Merge pull request #2702 from bitclaw/patch-1" Jul 30, 2013
rununit.bat rununit.bat fix Jul 30, 2012


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.