AutoRebuildCept.php 504 B

123456789101112131415
  1. <?php
  2. $I = new CliGuy($scenario);
  3. $I->wantTo('change configs and check that Guy is rebuilt');
  4. $I->amInPath('tests/data/sandbox');
  5. $I->writeToFile('tests/unit.suite.yml', <<<EOF
  6. class_name: CodeGuy
  7. modules:
  8. enabled: [Cli, CodeHelper]
  9. EOF
  10. );
  11. $I->executeCommand('run unit PassingTest.php --debug');
  12. $I->seeInShellOutput('Cli');
  13. $I->seeFileFound('tests/_support/_generated/CodeGuyActions.php');
  14. $I->seeInThisFile('public function seeInShellOutput');
  15. $I->seeInThisFile('public function runShellCommand');