carta
phpunit2(1)

phpunit21

Unit testing suite for php

Part of phpunit(1).

Usage

phpunit [switches] UnitTest [UnitTest.php]

Overview

PHPUnit 3.2.5 by Sebastian Bergmann.

--log-json <file>

Log test execution in JSON format.

--log-tap <file>

Log test execution in TAP format to file.

--log-xml <file>

Log test execution in XML format to file.

--test-db-dsn <dsn>

DSN for the test database.

--test-db-log-rev <r>

Revision information for database logging.

--test-db-prefix ...

Prefix that should be stripped from filenames.

--test-db-log-info ... Additional information for database logging.

--testdox-html <file>

Write agile documentation in HTML format to file.

--testdox-text <file>

Write agile documentation in Text format to file.

--filter <pattern>

Filter which tests to run.

--group ...

Only runs tests from the specified group(s).

--exclude-group ...

Exclude tests from the specified group(s).

--loader <loader>

TestSuiteLoader implementation to use.

--repeat <times>

Runs the test(s) repeatedly.

--tap

Report test execution progress in TAP format.

--testdox

Report test execution progress in TestDox format.

--no-syntax-check

Disable syntax check of test source files.

--stop-on-failure

Stop execution upon first error or failure.

--verbose

Output more verbose information.

--wait

Waits for a keystroke after each test.

--skeleton

Generate skeleton UnitTest class for Unit in Unit.php.

--help

Prints this usage information.

--version

Prints the version and exits.

--configuration <file> Read configuration from XML file.

-d key[=value]

Sets a php.ini value.

From phpunit 3.2.16-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.