Skip to content
EntityQ1663673· pop 14· linked from 52 articles

PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks that originated with SUnit and became popular with JUnit. PHPUnit was created by Sebastian Bergmann and its development is hosted on GitHub.

Key facts

Software.name
PHPUnit
Software.logo
PHPUnit Logo.svg
Software.logo size
300px
Software.logo alt
PHPUnit Logo
Software.developer
Sebastian Bergmann
Software.latest release version
12
Software.programming language
PHP
Software.operating system
Cross-platform
Software.genre
Unit testing framework
Software.license
BSD 3 Clause

via Wikipedia infobox

Source code

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 documentation for details on how to install PHPUnit. Please refer to CONTRIBUTING.md for information on how to contribute to PHPUnit and its related projects. A very special thanks to everyone who has contributed to the PHPUnit Manual. It has taken Sebastian Bergmann thousands of hours to develop, test, and support PHPUnit. You can sponsor his Open Source work through GitHub Sponsors , for example. Would you like to see your logo here as well as on the PHPUnit website? Contact Sebastian Bergmann at [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 and support maintainers like Sebastian Bergmann.

Excerpt from the source-code README · 7,119 chars · not written by Vinony

Wikidata facts

Official website
phpunit.de
Show 6 more facts
software version identifier
13.1.7
source code repository URL
github.com/sebastianbergmann/phpunit
inception
2004-03-15
social media followers
603
publication date
2004-00-00
Sources (7)

via Wikidata · CC0

~1 min read

Article

5 sections
Contents
  • Purpose
  • Benefits
  • Vulnerabilities
  • References
  • External links

PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks that originated with SUnit and became popular with JUnit. PHPUnit was created by Sebastian Bergmann and its development is hosted on GitHub.

==Purpose== PHPUnit is based on the idea that developers should be able to find mistakes in their newly committed code quickly and assert that no code regression has occurred in other parts of the code base. Much like other unit testing frameworks, PHPUnit uses assertions to verify that the behavior of the specific component - or "unit" - being tested behaves as expected.

Connections

Categories