当前位置: 首页>>代码示例>>PHP>>正文


PHP CliGuy::dontSeeInShellOutput方法代码示例

本文整理汇总了PHP中CliGuy::dontSeeInShellOutput方法的典型用法代码示例。如果您正苦于以下问题:PHP CliGuy::dontSeeInShellOutput方法的具体用法?PHP CliGuy::dontSeeInShellOutput怎么用?PHP CliGuy::dontSeeInShellOutput使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CliGuy的用法示例。


在下文中一共展示了CliGuy::dontSeeInShellOutput方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: snippetsScenarioFolder

 public function snippetsScenarioFolder(CliGuy $I)
 {
     $I->executeCommand('gherkin:snippets scenario subfolder');
     $I->seeInShellOutput('Given I have a feature in a subfolder');
     $I->seeInShellOutput('public function iHaveAFeatureInASubfolder');
     $I->dontSeeInShellOutput('@Given I have only idea of what\'s going on here');
     $I->dontSeeInShellOutput('public function iHaveOnlyIdeaOfWhatsGoingOnHere');
 }
开发者ID:solutionDrive,项目名称:Codeception,代码行数:8,代码来源:GherkinCest.php

示例2: checkAllSuitesExecuted

 protected function checkAllSuitesExecuted(\CliGuy $I)
 {
     $I->seeInShellOutput('[ToastPack]');
     $I->seeInShellOutput('ToastPack.unit Tests');
     $I->seeInShellOutput('[EwokPack]');
     $I->seeInShellOutput('EwokPack.unit Tests');
     $I->seeInShellOutput('[AcmePack]');
     $I->seeInShellOutput('AcmePack.unit Tests');
     $I->dontSeeInShellOutput('[Spam]');
     $I->dontSeeInShellOutput('[SpamPack]');
 }
开发者ID:hitechdk,项目名称:Codeception,代码行数:11,代码来源:WildcardIncludeCest.php

示例3: runOneGroup

 public function runOneGroup(\CliGuy $I)
 {
     $I->amInPath('tests/data/sandbox');
     $I->executeCommand('run skipped -g notorun');
     $I->seeInShellOutput("Incomplete");
     $I->dontSeeInShellOutput("Skipped");
 }
开发者ID:pfz,项目名称:codeception,代码行数:7,代码来源:RunCest.php

示例4: useAlternativeFormatter

 public function useAlternativeFormatter(CliGuy $I)
 {
     $I->wantTo('use alternative formatter delivered through extensions');
     $I->amInPath('tests/data/sandbox');
     $I->executeCommand('run tests/dummy/FileExistsCept.php -c codeception_extended.yml');
     $I->dontSeeInShellOutput("Check config");
     $I->seeInShellOutput('[+] FileExistsCept');
     $I->seeInShellOutput('Modules used: Filesystem, DumbHelper');
 }
开发者ID:janhenkgerritsen,项目名称:Codeception,代码行数:9,代码来源:ExtensionsCest.php

示例5: runOneTestFromCest

 public function runOneTestFromCest(\CliGuy $I)
 {
     $I->amInPath('tests/data/sandbox');
     $I->executeCommand('run tests/dummy/AnotherCest.php:optimistic');
     $I->seeShellOutputMatches("~\\(AnotherCest.optimistic\\)\\s*?Ok~");
     $I->dontSeeInShellOutput('AnotherCest.pessimistic');
 }
开发者ID:lenninsanchez,项目名称:donadores,代码行数:7,代码来源:RunCest.php

示例6: runTestWithFailFast

 public function runTestWithFailFast(\CliGuy $I)
 {
     $I->executeCommand('run unit --no-exit');
     $I->seeInShellOutput('Running FailingTest::testMe');
     $I->seeInShellOutput("PassingTest::testMe");
     $I->executeCommand('run unit --fail-fast --no-exit');
     $I->seeInShellOutput('There was 1 failure');
     $I->dontSeeInShellOutput("PassingTest::testMe");
 }
开发者ID:Vrian7ipx,项目名称:cascadadev,代码行数:9,代码来源:RunCest.php

示例7: runEnvironmentForCept

 public function runEnvironmentForCept(CliGuy $I)
 {
     $I->amInPath('tests/data/sandbox');
     $I->executeCommand('run messages --env email');
     $I->seeInShellOutput('Test emails');
     $I->dontSeeInShellOutput('Multiple env given');
     $I->executeCommand('run messages --env env1');
     $I->dontSeeInShellOutput('Test emails');
 }
开发者ID:foxman209,项目名称:Codeception,代码行数:9,代码来源:RunEnvironmentCest.php

示例8: runTestWithException

 public function runTestWithException(\CliGuy $I)
 {
     $I->executeCommand('run unit ExceptionTest --no-exit -v');
     $I->seeInShellOutput('There was 1 error');
     $I->seeInShellOutput('Helllo!');
     $I->expect('Exceptions are not wrapped into ExceptionWrapper');
     $I->dontSeeInShellOutput('PHPUnit_Framework_ExceptionWrapper');
     $I->seeInShellOutput('RuntimeException');
 }
开发者ID:corcre,项目名称:elabftw,代码行数:9,代码来源:RunCest.php

示例9: CliGuy

<?php

$I = new CliGuy($scenario);
$I->wantTo('use alternative formatter delivered through extensions');
$I->amInPath('tests/data/sandbox');
$I->executeCommand('run tests/skipped/CommentsCept.php -c codeception_extended.yml');
$I->dontSeeInShellOutput("Trying to talk, just talk");
$I->dontSeeInShellOutput('As a very lazy qa');
$I->seeInShellOutput('[+] talk, just talk');
开发者ID:lenninsanchez,项目名称:donadores,代码行数:9,代码来源:AlternativeFormatterCept.php

示例10: CliGuy

<?php

$I = new CliGuy($scenario);
$I->wantTo('see that my group extension works');
$I->amInPath('tests/data/sandbox');
$I->executeCommand('run skipped -g notorun -c codeception_grouped.yml');
$I->dontSeeInShellOutput("======> Entering NoGroup Test Scope\nMake it incomplete");
$I->dontSeeInShellOutput('<====== Ending NoGroup Test Scope');
$I->executeCommand('run dummy -g ok -c codeception_grouped.yml');
$I->dontSeeInShellOutput("======> Entering Ok Test Scope\nMake it incomplete");
$I->dontSeeInShellOutput('<====== Ending Ok Test Scope');
开发者ID:hitechdk,项目名称:Codeception,代码行数:11,代码来源:GroupExtensionCept.php

示例11: CliGuy

<?php

$I = new CliGuy($scenario);
$I->wantTo('see that my group events fire only once');
$I->amInPath('tests/data/claypit');
$I->executeCommand('run dummy -g countevents -c codeception_grouped.yml');
$I->seeInShellOutput('Group Before Events: 1');
$I->dontSeeInShellOutput('Group Before Events: 2');
$I->seeInShellOutput('Group After Events: 1');
$I->dontSeeInShellOutput('Group After Events: 2');
开发者ID:solutionDrive,项目名称:Codeception,代码行数:10,代码来源:GroupEventsCept.php


注:本文中的CliGuy::dontSeeInShellOutput方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。