init
This commit is contained in:
13
vendor/codeception/base/tests/cli/GenerateFeatureCept.php
vendored
Normal file
13
vendor/codeception/base/tests/cli/GenerateFeatureCept.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$I = new CliGuy($scenario);
|
||||
$I->wantTo('generate gherkin steps');
|
||||
$I->amInPath('tests/data/sandbox');
|
||||
$I->executeCommand('generate:feature scenario Login');
|
||||
$I->seeInShellOutput('Feature was created');
|
||||
$I->seeFileFound('Login.feature', 'tests/scenario');
|
||||
$I->seeInThisFile('Feature: Login');
|
||||
$I->deleteThisFile();
|
||||
|
||||
$I->executeCommand('generate:feature scenario dummy/Login');
|
||||
$I->seeFileFound('Login.feature', 'tests/scenario/dummy');
|
||||
$I->seeInThisFile('Feature: Login');
|
||||
Reference in New Issue
Block a user