Skip to content

sebastianbergmann/phpunit

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 27, 2023 16:32
November 27, 2023 15:24
November 27, 2023 15:44
November 27, 2023 09:01
src
November 27, 2023 18:14
November 23, 2023 08:33
November 27, 2023 15:24
September 18, 2021 09:02
November 27, 2023 12:37
November 17, 2023 17:20
November 17, 2023 17:20
January 2, 2023 09:33
November 12, 2023 10:29
February 8, 2023 14:24
November 27, 2023 18:14
October 15, 2023 09:26
November 27, 2023 12:47
October 13, 2023 08:57
October 15, 2023 09:26

PHPUnit

Latest Stable Version CI Status Type Coverage codecov

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-X.Y.phar

$ php phpunit-X.Y.phar --version

Please replace X.Y with the version of PHPUnit you are interested in.

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the "Getting Started" guide for details on how to install PHPUnit.

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.