Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 28-Mar-2019 | - | ||||
src/ | H | 28-Mar-2019 | - | 26,565 | 14,029 | |
tests/ | H | 28-Mar-2019 | - | 19,288 | 14,211 | |
.php_cs.dist | H A D | 27-Mar-2019 | 3 KiB | 82 | 78 | |
.stickler.yml | H A D | 27-Mar-2019 | 50 | 4 | 3 | |
.travis.yml | H A D | 27-Mar-2019 | 1.4 KiB | 56 | 43 | |
ChangeLog-5.7.md | H A D | 27-Mar-2019 | 11.9 KiB | 243 | 151 | |
LICENSE | H A D | 27-Mar-2019 | 1.5 KiB | 34 | 27 | |
README.md | H A D | 27-Mar-2019 | 2.1 KiB | 47 | 27 | |
build.xml | H A D | 27-Mar-2019 | 18.2 KiB | 419 | 355 | |
composer.json | H A D | 27-Mar-2019 | 2.2 KiB | 87 | 86 | |
phpunit | H A D | 27-Mar-2019 | 1.2 KiB | 53 | 34 | |
phpunit.xml | H A D | 27-Mar-2019 | 1.2 KiB | 35 | 31 | |
phpunit.xsd | H A D | 27-Mar-2019 | 12.6 KiB | 255 | 254 |
README.md
1# PHPUnit 2 3PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. 4 5[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit) 6[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.6-8892BF.svg?style=flat-square)](https://php.net/) 7[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/5.7.svg?style=flat-square)](https://phpunit.de/build-status.html) 8 9## Installation 10 11We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file: 12 13```bash 14$ wget https://phar.phpunit.de/phpunit.phar 15 16$ chmod +x phpunit.phar 17 18$ mv phpunit.phar /usr/local/bin/phpunit 19``` 20 21You can also immediately use the PHAR after you have downloaded it, of course: 22 23```bash 24$ wget https://phar.phpunit.de/phpunit.phar 25 26$ php phpunit.phar 27``` 28 29Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this. 30 31## Contribute 32 33Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/.github/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects. 34 35## List of Contributors 36 37Thanks 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: 38 39* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors) 40* [PHP_CodeCoverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors) 41* [PHPUnit_MockObject](https://github.com/sebastianbergmann/phpunit-mock-objects/graphs/contributors) 42 43A very special thanks to everyone who has contributed to the documentation and helps maintain the translations: 44 45* [PHPUnit Documentation](https://github.com/sebastianbergmann/phpunit-documentation/graphs/contributors) 46 47