Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbergmann/phpunit
The PHP Unit Testing framework.
https://github.com/sebastianbergmann/phpunit
php phpunit testing-tools
Last synced: 3 days ago
JSON representation
The PHP Unit Testing framework.
- Host: GitHub
- URL: https://github.com/sebastianbergmann/phpunit
- Owner: sebastianbergmann
- License: bsd-3-clause
- Created: 2009-12-24T13:16:23.000Z (almost 15 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T13:09:28.000Z (about 1 month ago)
- Last Synced: 2024-10-29T21:01:52.172Z (about 1 month ago)
- Topics: php, phpunit, testing-tools
- Language: PHP
- Homepage: https://phpunit.de/
- Size: 162 MB
- Stars: 19,688
- Watchers: 321
- Forks: 2,201
- Open Issues: 94
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog-12.0.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-resources - phpunit - Unit testing (Dev Tools / Libraries)
- awesome-php - PHPUnit - A unit testing framework. (Table of Contents / Testing)
- awesome-projects - PHPUnit - A unit testing framework. (PHP / Testing)
- php-awesome - PHPUnit - 单元测试框架 (类库 / 测试框架)
- awesome-php - PHPUnit - A unit testing framework. (Table of Contents / Testing)
- StarryDivineSky - sebastianbergmann/phpunit
- awesome-me - PHPUnit - The PHP Unit Testing framework. (Developments / Framework & Libraries)
- awesome-me - PHPUnit - The PHP Unit Testing framework. (Developments / Framework & Libraries)
- awesome-php-cn - PHPUnit - 一个单元测试框架. (目录 / 测试 Testing)
README
[![PHPUnit](.github/img/phpunit.svg)](https://phpunit.de/?ref=github)
[![CI Status](https://github.com/sebastianbergmann/phpunit/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/phpunit/actions)
[![codecov](https://codecov.io/gh/sebastianbergmann/phpunit/branch/main/graph/badge.svg?token=0yzBUK8Wri)](https://codecov.io/gh/sebastianbergmann/phpunit)
[![Latest Stable Version](https://poser.pugx.org/phpunit/phpunit/v)](https://packagist.org/packages/phpunit/phpunit)
[![Total Downloads](https://poser.pugx.org/phpunit/phpunit/downloads)](https://packagist.org/packages/phpunit/phpunit/stats)
[![Monthly Downloads](https://poser.pugx.org/phpunit/phpunit/d/monthly)](https://packagist.org/packages/phpunit/phpunit/stats)
[![Daily Downloads](https://poser.pugx.org/phpunit/phpunit/d/daily)](https://packagist.org/packages/phpunit/phpunit/stats)# PHPUnit
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)](https://php.net/phar) that has all required dependencies of PHPUnit bundled in a single file:
```bash
$ 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](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies.
Please refer to the [documentation](https://phpunit.de/documentation.html?ref=github) for details on how to install PHPUnit.## Contribute
Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/main/.github/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.
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:* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
* [php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)A very special thanks to everyone who has contributed to the [documentation](https://github.com/sebastianbergmann/phpunit-documentation-english/graphs/contributors).
## Sponsors
It has taken [Sebastian Bergmann](https://sebastian-bergmann.de/open-source.html?ref=github) thousands of hours to develop, test, and support PHPUnit.
[**You can sponsor his Open Source work through GitHub Sponsors**](https://github.com/sponsors/sebastianbergmann), for example.These businesses support Sebastian Bergmann's work on PHPUnit:
Would you like to see your logo here as well as on the [PHPUnit website](https://phpunit.de/sponsors.html?ref=github)?
Contact Sebastian Bergmann at [[email protected]](mailto:[email protected]) to learn more about how you can support his work on PHPUnit.Whether you are a CEO, CFO, CTO, or a developer: your company surely depends on Open Source software.
[It is time to pay your share](https://opensourcepledge.com/) and support maintainers like [Sebastian Bergmann](https://sebastian-bergmann.de/open-source.html?ref=github).