.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH PHPUNIT "1" "January 2014" "PHPUnit 3.7.28 by Sebastian Bergmann." "User Commands" .SH NAME PHPUnit \- The PHP Unit Testing framework. .SH SYNOPSIS .B phpunit [\fIswitches\fR] \fIUnitTest \fR[\fIUnitTest.php\fR] .SH DESCRIPTION PHPUnit 3.7.28 by Sebastian Bergmann. .IP phpunit [switches] .TP \fB\-\-log\-junit\fR Log test execution in JUnit XML format to file. .TP \fB\-\-log\-tap\fR Log test execution in TAP format to file. .TP \fB\-\-log\-json\fR Log test execution in JSON format. .TP \fB\-\-coverage\-clover\fR Generate code coverage report in Clover XML format. .TP \fB\-\-coverage\-html\fR Generate code coverage report in HTML format. .TP \fB\-\-coverage\-php\fR Serialize PHP_CodeCoverage object to file. .TP \fB\-\-coverage\-text=\fR Generate code coverage report in text format. Default to writing to the standard output. .TP \fB\-\-testdox\-html\fR Write agile documentation in HTML format to file. .TP \fB\-\-testdox\-text\fR Write agile documentation in Text format to file. .TP \fB\-\-filter\fR Filter which tests to run. .TP \fB\-\-testsuite\fR Filter which testsuite to run. .TP \fB\-\-group\fR ... Only runs tests from the specified group(s). .TP \fB\-\-exclude\-group\fR ... Exclude tests from the specified group(s). .TP \fB\-\-list\-groups\fR List available test groups. .TP \fB\-\-test\-suffix\fR ... Only search for test in files with specified suffix(es). Default: Test.php,.phpt .TP \fB\-\-loader\fR TestSuiteLoader implementation to use. .TP \fB\-\-printer\fR TestSuiteListener implementation to use. .TP \fB\-\-repeat\fR Runs the test(s) repeatedly. .TP \fB\-\-tap\fR Report test execution progress in TAP format. .TP \fB\-\-testdox\fR Report test execution progress in TestDox format. .TP \fB\-\-colors\fR Use colors in output. .TP \fB\-\-stderr\fR Write to STDERR instead of STDOUT. .TP \fB\-\-stop\-on\-error\fR Stop execution upon first error. .TP \fB\-\-stop\-on\-failure\fR Stop execution upon first error or failure. .TP \fB\-\-stop\-on\-skipped\fR Stop execution upon first skipped test. .TP \fB\-\-stop\-on\-incomplete\fR Stop execution upon first incomplete test. .TP \fB\-\-strict\fR Run tests in strict mode. .TP \fB\-v\fR|\-\-verbose Output more verbose information. .TP \fB\-\-debug\fR Display debugging information during test execution. .TP \fB\-\-process\-isolation\fR Run each test in a separate PHP process. .TP \fB\-\-no\-globals\-backup\fR Do not backup and restore $GLOBALS for each test. .TP \fB\-\-static\-backup\fR Backup and restore static attributes for each test. .TP \fB\-\-bootstrap\fR A "bootstrap" PHP file that is run before the tests. .HP \fB\-c\fR|\-\-configuration Read configuration from XML file. .TP \fB\-\-no\-configuration\fR Ignore default configuration file (phpunit.xml). .TP \fB\-\-include\-path\fR Prepend PHP's include_path with given path(s). .TP \fB\-d\fR key[=value] Sets a php.ini value. .TP \fB\-h\fR|\-\-help Prints this usage information. .TP \fB\-\-version\fR Prints the version and exits. .SH "SEE ALSO" The full documentation for .B PHPUnit is maintained as a Texinfo manual. If the .B info and .B PHPUnit programs are properly installed at your site, the command .IP .B info PHPUnit .PP should give you access to the complete manual.