本文整理匯總了PHP中PHPUnit_TextUI_Command::showHelp方法的典型用法代碼示例。如果您正苦於以下問題:PHP PHPUnit_TextUI_Command::showHelp方法的具體用法?PHP PHPUnit_TextUI_Command::showHelp怎麽用?PHP PHPUnit_TextUI_Command::showHelp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類PHPUnit_TextUI_Command
的用法示例。
在下文中一共展示了PHPUnit_TextUI_Command::showHelp方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: showHelp
protected function showHelp()
{
parent::showHelp();
print <<<EOT
--rerun Runs tests that failed on last execution.
EOT;
}
示例2: showHelp
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;
}
示例3: showHelp
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;
}
示例4: showHelp
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;
}
示例5: showHelp
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;
}
示例6: showHelp
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";
}
示例7: showHelp
/**
* Show the help message.
*
* @author Dominik del Bondio <dominik.del.bondio@bitextender.com>
* @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;
}