>_ linuxcommand.dev
Startseite phpunit
Programming

phpunit

Führt Unit- und Integrationstests für PHP-Projekte aus

Ubuntu Debian Fedora Arch Alpine macOS
Verifiziert: 2026-05-13
Syntax
$phpunit [OPTIONEN] [TESTDATEI]
Optionen
--filter
--testsuite
--coverage-text
Beispiele
$phpunit
$phpunit tests/UserTest.php
$phpunit --filter testLogin
Siehe auch
Typische Anwendungsfälle
?
Standardverwendung
phpunit --help
Hinweis De-facto Standard-Testframework im PHP-Ökosystem.
Export