陈德本 1acd586aaa init 7 lat temu
..
.github 1acd586aaa init 7 lat temu
src 1acd586aaa init 7 lat temu
tests 1acd586aaa init 7 lat temu
.editorconfig 1acd586aaa init 7 lat temu
.gitattributes 1acd586aaa init 7 lat temu
.gitignore 1acd586aaa init 7 lat temu
.php_cs.dist 1acd586aaa init 7 lat temu
.travis.yml 1acd586aaa init 7 lat temu
ChangeLog-5.7.md 1acd586aaa init 7 lat temu
ChangeLog-6.5.md 1acd586aaa init 7 lat temu
LICENSE 1acd586aaa init 7 lat temu
README.md 1acd586aaa init 7 lat temu
appveyor.yml 1acd586aaa init 7 lat temu
build.xml 1acd586aaa init 7 lat temu
composer.json 1acd586aaa init 7 lat temu
phpunit 1acd586aaa init 7 lat temu
phpunit.xml 1acd586aaa init 7 lat temu
phpunit.xsd 1acd586aaa init 7 lat temu

README.md

PHPUnit

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Latest Stable Version Minimum PHP Version Build Status

Installation

We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:

$ wget https://phar.phpunit.de/phpunit.phar

$ chmod +x phpunit.phar

$ mv phpunit.phar /usr/local/bin/phpunit

You can also immediately use the PHAR after you have downloaded it, of course:

$ wget https://phar.phpunit.de/phpunit.phar

$ php phpunit.phar

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the documentation for details on how to do this.

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to PHPUnit and its related projects.

List of Contributors

Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations: