PHPUnit

PHPUnit

PHPUnit
PHPUnit

Basisdaten

Entwickler Sebastian Bergmann
Erscheinungsjahr 2004[1]
Aktuelle Version 13.3.0[2]
(7. August 2026)
Betriebssystem Plattformübergreifend
Programmier­sprache PHP[3]
Kategorie Softwaretest
Lizenz BSD-Lizenz
phpunit.de

PHPUnit ist ein in PHP geschriebenes freies Framework zum automatisierten Testen von PHP-Software. Es ist vor allem für Modultests geeignet und basiert auf dem xUnit-Konzept.

Versionsgeschichte

Am 15. März 2004 wurde Version 1.0.0 von Sebastian Bergmann unter der PHP-Lizenz innerhalb der Programmbibliothek PEAR freigegeben. Ab Version 3.0.0 wurde PHPUnit von PEAR losgelöst und steht seither als eigenständiges Framework unter BSD-Lizenz zur Verfügung.

Verwendung

Folgende Projekte nutzen das PHPUnit-Framework (Auszug):

GUI

Integrierte Entwicklungsumgebungen wie PhpStorm oder Visual Studio Code können PHPUnit-Testfälle ausführen und die Ergebnisse anzeigen. Zum Teil sind zusätzliche Plug-ins erforderlich. Zusätzlich können Testfälle während der kontinuierlichen Integration ausgeführt werden z. B. mit Jenkins oder GitHub Actions.

Siehe auch

Literatur

  • Sebastian Bergmann (Hrsg.: O’Reillys Taschenbibliothek): PHPUnit kurz und gut. Oktober 2005, ISBN 978-3-89721-515-3.

Einzelnachweise

  1. web.archive.org.
  2. Release 13.3.0. 7. August 2026 (abgerufen am 7. August 2026).
  3. github.com. In: GitHub. (abgerufen am 21. November 2024).
  4. PHPUnit is the official testing framework chosen by the core team to test our PHP code.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.