File: phpunit.1

package info (click to toggle)
phpunit 3.6.10-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,436 kB
  • sloc: php: 9,963; xml: 530; makefile: 2
file content (120 lines) | stat: -rw-r--r-- 2,987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.38.2.
.TH PHPUNIT "1" "February 2011" "PHPUnit 3.4.14 by Sebastian Bergmann." "User Commands"
.SH NAME
PHPUnit \- Unit testing suite for PHP
.SH SYNOPSIS
.B phpunit
[\fIswitches\fR] \fIUnitTest \fR[\fIUnitTest.php\fR]
.SH DESCRIPTION
PHPUnit 3.4.14 by Sebastian Bergmann.
.IP
phpunit [switches] <directory>
.TP
\fB\-\-log\-junit\fR <file>
Log test execution in JUnit XML format to file.
.TP
\fB\-\-log\-tap\fR <file>
Log test execution in TAP format to file.
.TP
\fB\-\-log\-json\fR <file>
Log test execution in JSON format.
.TP
\fB\-\-coverage\-html\fR <dir>
Generate code coverage report in HTML format.
.HP
\fB\-\-coverage\-clover\fR <file> Write code coverage data in Clover XML format.
.TP
\fB\-\-coverage\-source\fR <dir>
Write code coverage / source data in XML format.
.TP
\fB\-\-story\-html\fR <file>
Write Story/BDD results in HTML format to file.
.TP
\fB\-\-story\-text\fR <file>
Write Story/BDD results in Text format to file.
.TP
\fB\-\-testdox\-html\fR <file>
Write agile documentation in HTML format to file.
.TP
\fB\-\-testdox\-text\fR <file>
Write agile documentation in Text format to file.
.TP
\fB\-\-filter\fR <pattern>
Filter which tests 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\-\-loader\fR <loader>
TestSuiteLoader implementation to use.
.TP
\fB\-\-repeat\fR <times>
Runs the test(s) repeatedly.
.TP
\fB\-\-story\fR
Report test execution progress in Story/BDD format.
.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\-failure\fR
Stop execution upon first error or failure.
.TP
\fB\-\-verbose\fR
Output more verbose information.
.TP
\fB\-\-wait\fR
Waits for a keystroke after each test.
.TP
\fB\-\-skeleton\-class\fR
Generate Unit class for UnitTest in UnitTest.php.
.TP
\fB\-\-skeleton\-test\fR
Generate UnitTest class for Unit in Unit.php.
.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\-\-syntax\-check\fR
Try to check source files for syntax errors.
.TP
\fB\-\-bootstrap\fR <file>
A "bootstrap" PHP file that is run before the tests.
.TP
\fB\-\-configuration\fR <file>
Read configuration from XML file.
.TP
\fB\-\-no\-configuration\fR
Ignore default configuration file (phpunit.xml).
.HP
\fB\-\-include\-path\fR <path(s)> Prepend PHP's include_path with given path(s).
.TP
\fB\-d\fR key[=value]
Sets a php.ini value.
.TP
\fB\-\-help\fR
Prints this usage information.
.TP
\fB\-\-version\fR
Prints the version and exits.