protected function showHelp() { parent::showHelp(); print <<<EOT --rerun Runs tests that failed on last execution. EOT; }
public function showHelp() { parent::showHelp(); print <<<EOT --order <rand[:seed]> Randomize the order of the tests. Optionally you can pass a seed to run a specific order. EOT; }
protected function showHelp() { parent::showHelp(); print <<<EOT --db-per-test Use a clean database per test --dsn <resource> Use the database specified with a DSN: type://user:password@host/database. An example to connect with the local MySQL database is: mysql://root@mypass@localhost/unittests --list-tests Lists all tests EOT; }
public function showHelp() { parent::showHelp(); print <<<EOT ParserTest-specific options: --regex="<regex>" Only run parser tests that match the given regex --file="<filename>" Prints the version and exits. --keep-uploads Re-use the same upload directory for each test, don't delete it EOT; }
public function showHelp() { parent::showHelp(); print <<<EOT ParserTest-specific options: --regex="<regex>" Only run parser tests that match the given regex --file="<filename>" Prints the version and exits. --keep-uploads Re-use the same upload directory for each test, don't delete it Database options: --use-normal-tables Use normal DB tables. --reuse-db Init DB only if tables are missing and keep after finish. EOT; }
public function showHelp() { parent::showHelp(); print <<<EOT ParserTest-specific options: --regex="<regex>" Only run parser tests that match the given regex --file="<filename>" File describing parser tests --keep-uploads Re-use the same upload directory for each test, don't delete it Database options: --use-normal-tables Use normal DB tables. --reuse-db Init DB only if tables are missing and keep after finish. Debugging options: --debug-tests Log testing activity to the PHPUnitCommand log channel. EOT; }
protected function showHelp() { parent::showHelp(); echo "\n\nSpecific options for Jelix:\n\n phpunit [switches] --all-modules\n phpunit [switches] --module <modulename> [testfile.pu.php]\n\n --all-modules Run tests of all installed modules.\n --module <module> Run tests of a specific module. An optional filename can be indicated\n to run a specific test of this module.\n\n --entrypoint <ep> Run tests in the context (same configuration) of the given entry point. By default: 'index'\n --testtype <type> Run only tests of the given type, ie. tests that have a filename suffix like '.<type>.pu.php'\n\n"; }
/** * Show the help message. * * @author Dominik del Bondio <*****@*****.**> * @since 1.1.0 */ protected function showHelp() { parent::showHelp(); echo <<<EOT Agavi specific arguments: --environment <envname> use environment named <envname> to run the tests. Defaults to "testing". --include-suite <suites> run only suites named <suite>, accepts a list of suites, comma separated. --exclude-suite <suites> run all but suites named <suite>, accepts a list of suites, comma separated. --no-expand-configuration Don't expand configuration variables in the configuration file NOTE: Unless --no-expand-configuration is given the configuration file given to PHPUnit is generated in Agavi's cache directory. So you can't use relative paths in the configuration file. Use %agavi.app_dir%, %core.testing_dir% or something applicable to your case. EOT; }