slaughter550 / phpunit
The PHP Unit Testing framework.
Requires
- php: ^5.6 || ^7.0
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-mbstring: *
- ext-xml: *
- myclabs/deep-copy: ~1.3
- phpspec/prophecy: ^1.6.2
- phpunit/php-code-coverage: ^4.0.4
- phpunit/php-file-iterator: ~1.4
- phpunit/php-text-template: ~1.2
- phpunit/php-timer: ^1.0.6
- phpunit/phpunit-mock-objects: ^3.2
- sebastian/comparator: ^1.2.4
- sebastian/diff: ^1.4.3
- sebastian/environment: ^1.3.4 || ^2.0
- sebastian/exporter: ~2.0
- sebastian/global-state: ^1.1
- sebastian/object-enumerator: ~2.0
- sebastian/resource-operations: ~1.0
- sebastian/version: ~1.0.3|~2.0
- symfony/yaml: ~2.1|~3.0|~4.0
Requires (Dev)
- ext-pdo: *
Suggests
- ext-xdebug: *
- phpunit/php-invoker: ~1.1
Conflicts
- dev-master
- 7.5.x-dev
- 5.7.x-dev
- 5.7.9
- 5.7.6.222
- 5.7.6.2
- 5.7.6.1
- 5.4.x-dev
- 5.4.6.4
- 5.4.6.3
- 5.4.6.2
- 5.4.6.1
- 5.4.6
- 5.4.5
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.x-dev
- 5.3.5
- 5.3.4
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.x-dev
- 5.2.12
- 5.2.11
- 5.2.10
- 5.2.9
- 5.2.8
- 5.2.7
- 5.2.6
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.x-dev
- 5.1.7
- 5.1.6
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.x-dev
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.8.x-dev
- 4.8.26
- 4.8.25
- 4.8.24
- 4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- 3.7.14
- 3.7.13
- 3.7.12
- 3.7.11
- 3.7.10
- 3.7.9
- 3.7.8
- 3.7.7
- 3.7.6
- 3.7.5
- 3.7.4
- 3.7.3
- 3.7.2
- 3.7.1
- 3.7.0
- dev-issue-2145/stop-on-failure-fails-to-stop
- dev-issue-2111/assertNotContains-fails-when-array-contains-boolean
- dev-refactoring/symfony-var-dumper
- dev-refactor/symfony-process
This package is auto-updated.
Last update: 2024-11-12 23:15:18 UTC
README
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
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: