本文整理汇总了PHP中CliGuy::dontSeeInThisFile方法的典型用法代码示例。如果您正苦于以下问题:PHP CliGuy::dontSeeInThisFile方法的具体用法?PHP CliGuy::dontSeeInThisFile怎么用?PHP CliGuy::dontSeeInThisFile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CliGuy
的用法示例。
在下文中一共展示了CliGuy::dontSeeInThisFile方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: runXmlReportsInStrictMode
/**
* @group reports
* @param CliGuy $I
*/
public function runXmlReportsInStrictMode(\CliGuy $I)
{
$I->wantTo('check xml in strict mode');
$I->executeCommand('run dummy --xml -c codeception_strict_xml.yml');
$I->seeFileFound('report.xml', 'tests/_output');
$I->seeInThisFile('<?xml');
$I->seeInThisFile('<testsuite name="dummy"');
$I->seeInThisFile('<testcase name="FileExists"');
$I->dontSeeInThisFile('feature="');
}
示例2: bootstrapWithNamespace
public function bootstrapWithNamespace(\CliGuy $I)
{
$I->executeCommand('bootstrap --namespace Generated');
$I->seeInShellOutput('Building Actor classes for suites');
$I->seeFileFound('codeception.yml');
$I->seeInThisFile('namespace: Generated');
$I->dontSeeInThisFile('namespace Generated\\');
$this->checkFilesCreated($I);
$I->seeFileFound('Acceptance.php', 'tests/_support/Helper');
$I->seeInThisFile('namespace Generated\\Helper;');
$I->seeFileFound('AcceptanceTester.php', 'tests/_support');
$I->seeInThisFile('namespace Generated;');
}
示例3: bootstrapCompatibilityWithNamespace
public function bootstrapCompatibilityWithNamespace(\CliGuy $I)
{
$I->executeCommand('bootstrap --namespace Generated --compat');
$I->seeInShellOutput('Building Actor classes for suites');
$I->seeFileFound('codeception.yml');
$I->seeInThisFile('namespace: Generated');
$I->dontSeeInThisFile('namespace Generated\\');
$this->checkCompatFilesCreated($I);
$I->seeFileFound('WebHelper.php');
$I->seeInThisFile('namespace Generated\\Codeception\\Module;');
$I->seeFileFound('WebGuy.php');
$I->seeInThisFile('namespace Generated;');
}
示例4: bootstrapWithNamespace
public function bootstrapWithNamespace(\CliGuy $I)
{
$I->amInPath('tests/data/sandbox/tests/_data/');
$I->executeCommand('bootstrap --namespace Generated');
$I->seeInShellOutput('Building Guy classes for suites');
$I->seeFileFound('codeception.yml');
$I->seeInThisFile('namespace: Generated');
$I->dontSeeInThisFile('namespace Generated\\');
$this->checkFilesCreated($I);
$I->seeFileFound('WebHelper.php');
$I->seeInThisFile('namespace Generated\\Codeception\\Module;');
$I->seeFileFound('WebGuy.php');
$I->seeInThisFile('namespace Generated;');
}