You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael_xu 2b1299b408
v11.0.3-20210517
4 years ago
..
src v11.0.3-20210517 4 years ago
tests v11.0.3-20210517 4 years ago
.gitattributes v11.0.3-20210517 4 years ago
.gitignore v11.0.3-20210517 4 years ago
.php_cs v11.0.3-20210517 4 years ago
.travis.yml v11.0.3-20210517 4 years ago
CODE_OF_CONDUCT.md v11.0.3-20210517 4 years ago
CONTRIBUTING.md v11.0.3-20210517 4 years ago
ChangeLog-4.0.md v11.0.3-20210517 4 years ago
ChangeLog-4.1.md v11.0.3-20210517 4 years ago
ChangeLog-4.2.md v11.0.3-20210517 4 years ago
ChangeLog-4.3.md v11.0.3-20210517 4 years ago
ChangeLog-4.4.md v11.0.3-20210517 4 years ago
ChangeLog-4.5.md v11.0.3-20210517 4 years ago
ChangeLog-4.6.md v11.0.3-20210517 4 years ago
ChangeLog-4.7.md v11.0.3-20210517 4 years ago
ChangeLog-4.8.md v11.0.3-20210517 4 years ago
LICENSE v11.0.3-20210517 4 years ago
README.md v11.0.3-20210517 4 years ago
build.xml v11.0.3-20210517 4 years ago
composer.json v11.0.3-20210517 4 years ago
phpunit v11.0.3-20210517 4 years ago
phpunit.xml v11.0.3-20210517 4 years ago
phpunit.xsd v11.0.3-20210517 4 years ago

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: