The Command Line Test Runner(2)
This flags stimulates test runs for test suite whose name matches the given pattern.
Runs test for only the group specified. A test can be tagged as belonging to a group using the `@group` annotation.
The `@author` and `@ticket` annotations are aliases for `@group` allowing tests to be further filter based on author and ticket.
This flag excludes groups specified from the test being executed. @group annotation is used to tag a test to a particular group.
Returns a comprehensive list of all the available test groups.
Prompts a search for test files with specified suffix(es).
This prevents the return of useless tests.
Prompts PHPUnit to be strict about unintentionally covered code.
Instructs PHPUnit to be strict about global state manipulation.
With this flag, PHPUnit becomes strict with outputs during tests.
Does not execute tests which have the `@todo` annotation in its doc block.
This enforces time limit based on test size.
With this flag, each test is executed as a separate PHP process.
This prevents the backup and restore of `$GLOBALS`.
Causes the backup and restore static attributes of user-defined classes.
This instructs PHPUnit to use colors in outputs and on Windows, to use ANSICON or ConEmu.
This option has three possible values:
`never`: Never displays colors in the output. This is the default value when `--colors` option is not used.
`auto`: Displays colors in the output unless the current terminal doesn’t support colors, or if the output is piped to a command or redirected to a file.
`always`: Displays colors in the output even when the current terminal doesn’t support colors, or when the output is piped to a command or redirected to a file.
NB: When --colors is used without any value, `auto` is the chosen value.
It defines the number of columns to use for progress output. If `max` is defined as value, the number of columns will be maximum of the current terminal.
It changes the print interface to `STDERR` instead of `STDOUT`.
This terminates the execution upon first error.
Terminates execution upon first error or failure.
It stops execution upon first risky test.
It stops execution upon first skipped test.
It stops execution upon first incomplete test.
Output more verbose information, for instance the names of tests that were incomplete or have been skipped.
Output debug information such as the name of a test when its execution starts.
Specifies the `PHPUnit\Runner\TestSuiteLoader` implementation to use. The standard test suite loader will look for the source file in the current working directory and in each directory that is specified in PHP’s `include_path` configuration directive. A class name such as `Project_Package_Class` is mapped to the source file name `Project/Package/Class.php`.
Repeatedly runs the test(s) the specified number of times.
Reports the test progress in TestDox format.
Specifies the result printer to use. The printer class must extend `PHPUnit\Util\Printer` and implement the `PHPUnit\Framework\TestListener` interface.
A “bootstrap” PHP file that is run before the tests.
This read configuration from XML file.
If `phpunit.xml` or phpunit.xml.dist` (in that order) exist in the current working directory and` --configuration` is not used, the configuration will be automatically read from that file.
If a directory is specified and if `phpunit.xml` or `phpunit.xml.dist `(in that order) exists in this directory, the configuration will be automatically read from that file.
Ignore `phpunit.xml` and `phpunit.xml.dist` from the current working directory.
Prepend PHP’s include_path with given path(s).
Sets the value of the given PHP configuration option.
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join