當前位置: 首頁>>代碼示例>>PHP>>正文


PHP PHPUnit_TextUI_Command::showHelp方法代碼示例

本文整理匯總了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;
    }
開發者ID:KarlCOG,項目名稱:cog-phpunit-rerun,代碼行數:7,代碼來源:RerunCommand.php

示例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;
    }
開發者ID:hasumedic,項目名稱:phpunit-randomizer,代碼行數:9,代碼來源:Command.php

示例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;
    }
開發者ID:eFFemeer,項目名稱:seizamcore,代碼行數:14,代碼來源:MediaWikiPHPUnitCommand.php

示例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;
    }
開發者ID:Jobava,項目名稱:diacritice-meta-repo,代碼行數:19,代碼來源:MediaWikiPHPUnitCommand.php

示例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;
    }
開發者ID:biribogos,項目名稱:wikihow-src,代碼行數:19,代碼來源:MediaWikiPHPUnitCommand.php

示例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";
 }
開發者ID:CREASIG,項目名稱:lizmap-web-client,代碼行數:5,代碼來源:command.php

示例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;
    }
開發者ID:horros,項目名稱:agavi,代碼行數:31,代碼來源:AgaviPhpUnitCli.class.php


注:本文中的PHPUnit_TextUI_Command::showHelp方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。