~ballot/wordpress/openstack-objectstorage-breaking-insight

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/TextUI/help.phpt

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
phpunit
 
3
--FILE--
 
4
<?php
 
5
$_SERVER['argv'][1] = '--no-configuration';
 
6
 
 
7
require __DIR__ . '/../bootstrap.php';
 
8
PHPUnit_TextUI_Command::main();
 
9
?>
 
10
--EXPECTF--
 
11
PHPUnit %s by Sebastian Bergmann.
 
12
 
 
13
Usage: phpunit [options] UnitTest [UnitTest.php]
 
14
       phpunit [options] <directory>
 
15
 
 
16
Code Coverage Options:
 
17
 
 
18
  --coverage-clover <file>  Generate code coverage report in Clover XML format.
 
19
  --coverage-crap4j <file>  Generate code coverage report in Crap4J XML format.
 
20
  --coverage-html <dir>     Generate code coverage report in HTML format.
 
21
  --coverage-php <file>     Export PHP_CodeCoverage object to file.
 
22
  --coverage-text=<file>    Generate code coverage report in text format.
 
23
                            Default: Standard output.
 
24
  --coverage-xml <dir>      Generate code coverage report in PHPUnit XML format.
 
25
 
 
26
Logging Options:
 
27
 
 
28
  --log-junit <file>        Log test execution in JUnit XML format to file.
 
29
  --log-tap <file>          Log test execution in TAP format to file.
 
30
  --log-json <file>         Log test execution in JSON format.
 
31
  --testdox-html <file>     Write agile documentation in HTML format to file.
 
32
  --testdox-text <file>     Write agile documentation in Text format to file.
 
33
 
 
34
Test Selection Options:
 
35
 
 
36
  --filter <pattern>        Filter which tests to run.
 
37
  --testsuite <pattern>     Filter which testsuite to run.
 
38
  --group ...               Only runs tests from the specified group(s).
 
39
  --exclude-group ...       Exclude tests from the specified group(s).
 
40
  --list-groups             List available test groups.
 
41
  --test-suffix ...         Only search for test in files with specified
 
42
                            suffix(es). Default: Test.php,.phpt
 
43
 
 
44
Test Execution Options:
 
45
 
 
46
  --report-useless-tests    Be strict about tests that do not test anything.
 
47
  --strict-coverage         Be strict about unintentionally covered code.
 
48
  --disallow-test-output    Be strict about output during tests.
 
49
  --enforce-time-limit      Enforce time limit based on test size.
 
50
  --disallow-todo-tests     Disallow @todo-annotated tests.
 
51
  --strict                  Run tests in strict mode (enables all of the above).
 
52
 
 
53
  --process-isolation       Run each test in a separate PHP process.
 
54
  --no-globals-backup       Do not backup and restore $GLOBALS for each test.
 
55
  --static-backup           Backup and restore static attributes for each test.
 
56
 
 
57
  --colors                  Use colors in output.
 
58
  --stderr                  Write to STDERR instead of STDOUT.
 
59
  --stop-on-error           Stop execution upon first error.
 
60
  --stop-on-failure         Stop execution upon first error or failure.
 
61
  --stop-on-risky           Stop execution upon first risky test.
 
62
  --stop-on-skipped         Stop execution upon first skipped test.
 
63
  --stop-on-incomplete      Stop execution upon first incomplete test.
 
64
  -v|--verbose              Output more verbose information.
 
65
  --debug                   Display debugging information during test execution.
 
66
 
 
67
  --loader <loader>         TestSuiteLoader implementation to use.
 
68
  --repeat <times>          Runs the test(s) repeatedly.
 
69
  --tap                     Report test execution progress in TAP format.
 
70
  --testdox                 Report test execution progress in TestDox format.
 
71
  --printer <printer>       TestListener implementation to use.
 
72
 
 
73
Configuration Options:
 
74
 
 
75
  --bootstrap <file>        A "bootstrap" PHP file that is run before the tests.
 
76
  -c|--configuration <file> Read configuration from XML file.
 
77
  --no-configuration        Ignore default configuration file (phpunit.xml).
 
78
  --include-path <path(s)>  Prepend PHP's include_path with given path(s).
 
79
  -d key[=value]            Sets a php.ini value.
 
80
 
 
81
Miscellaneous Options:
 
82
 
 
83
  -h|--help                 Prints this usage information.
 
84
  --version                 Prints the version and exits.