init
This commit is contained in:
15
vendor/codeception/base/tests/cli/AutoRebuildCept.php
vendored
Normal file
15
vendor/codeception/base/tests/cli/AutoRebuildCept.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$I = new CliGuy($scenario);
|
||||
$I->wantTo('change configs and check that Guy is rebuilt');
|
||||
$I->amInPath('tests/data/sandbox');
|
||||
$I->writeToFile('tests/unit.suite.yml', <<<EOF
|
||||
class_name: CodeGuy
|
||||
modules:
|
||||
enabled: [Cli, CodeHelper]
|
||||
EOF
|
||||
);
|
||||
$I->executeCommand('run unit PassingTest.php --debug');
|
||||
$I->seeInShellOutput('Cli');
|
||||
$I->seeFileFound('tests/_support/_generated/CodeGuyActions.php');
|
||||
$I->seeInThisFile('public function seeInShellOutput');
|
||||
$I->seeInThisFile('public function runShellCommand');
|
||||
Reference in New Issue
Block a user