init
This commit is contained in:
9
vendor/codeception/base/tests/cli/GenerateTestCept.php
vendored
Normal file
9
vendor/codeception/base/tests/cli/GenerateTestCept.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$I = new CliGuy\GeneratorSteps($scenario);
|
||||
$I->wantTo('generate sample Test');
|
||||
$I->amInPath('tests/data/sandbox');
|
||||
$I->executeCommand('generate:test dummy Sommy');
|
||||
$I->seeFileWithGeneratedClass('SommyTest');
|
||||
$I->seeInThisFile('class SommyTest extends \Codeception\Test\Unit');
|
||||
$I->seeInThisFile('protected $tester');
|
||||
$I->seeInThisFile("function _before(");
|
||||
Reference in New Issue
Block a user