Skip to content

Commit

Permalink
Added docs for new "console-lines" output mode
Browse files Browse the repository at this point in the history
  • Loading branch information
smuuf committed Aug 12, 2023
1 parent aef79d7 commit e1bba71
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tester/en/running-tests.texy
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ Options:
-p <path> Specify PHP interpreter to run (default: php).
-c <path> Look for php.ini file (or look in directory) <path>.
-C Use system-wide php.ini.
-l | --log <path> Write log to file <path>.
-d <key=value>... Define INI entry 'key' with value 'value'.
-s Show information about skipped tests.
--stop-on-fail Stop execution upon the first failure.
-j <num> Run <num> jobs in parallel (default: 8).
-o <console|tap|junit|none> Specify output format.
-o <console|console-lines|tap|junit|log|none> (e.g. -o junit:output.xml)
Specify one or more output formats with optional file name.
-w | --watch <path> Watch directory.
-i | --info Show tests environment info and exit.
--setup <path> Script for runner setup.
--temp <path> Path to temporary directory. Default: sys_get_temp_dir().
--temp <path> Path to temporary directory. Default by sys_get_temp_dir().
--colors [1|0] Enable or disable colors.
--coverage <path> Generate code coverage report to file.
--coverage-src <path> Path to source code.
Expand Down Expand Up @@ -127,11 +127,12 @@ Tester stops testing upon the first failing test.
Tests run in a `<num>` parallel precesses. Default value is 8. If we wish to run tests in series, we use value 1.


-o <console|tap|junit|none> .[filter]
-o <console|console-lines|tap|junit|none> .[filter]
-------------------------------------
Output format. Default is the console format.

- `console`: the same as default, but the ASCII logo is not printed in this case
- `console-lines`: Also outputs to console, but with each test's result printed on a separate line (and with more detail).
- `tap`: [TAP format |https://en.wikipedia.org/wiki/Test_Anything_Protocol] appropriate for machine processing
- `junit`: JUnit XML format, appropriate for machine processing too
- `none`: nothing is printed
Expand Down

0 comments on commit e1bba71

Please sign in to comment.