Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / README.md
1 # PHPUnit
2
3 PHPUnit 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.3.3-8892BF.svg?style=flat-square)](https://php.net/)
7 [![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/4.8.svg?style=flat-square)](https://phpunit.de/build-status.html)
8
9 ## Installation
10
11 We 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
21 You 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
29 Alternatively, 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
33 Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.
34
35 ## List of Contributors
36
37 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:
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
43 A 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