init
This commit is contained in:
25
vendor/codeception/base/tests/cli/DryRunCest.php
vendored
Normal file
25
vendor/codeception/base/tests/cli/DryRunCest.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
class DryRunCest
|
||||
{
|
||||
public function _before(CliGuy $I)
|
||||
{
|
||||
$I->amInPath('tests/data/sandbox');
|
||||
}
|
||||
|
||||
public function runCestWithExamples(CliGuy $I)
|
||||
{
|
||||
$I->executeCommand('dry-run scenario ExamplesCest --no-ansi');
|
||||
$I->seeInShellOutput('ExamplesCest: Files exists annotation');
|
||||
}
|
||||
|
||||
public function runFeature(CliGuy $I)
|
||||
{
|
||||
$I->executeCommand('dry-run scenario File.feature --no-ansi');
|
||||
$I->seeInShellOutput('Run gherkin: Check file exists');
|
||||
$I->seeInShellOutput('In order to test a feature');
|
||||
$I->seeInShellOutput('As a user');
|
||||
$I->seeInShellOutput('Given i have terminal opened');
|
||||
$I->seeInShellOutput('INCOMPLETE');
|
||||
$I->seeInShellOutput('Step definition for `I have only idea of what\'s going on here` not found');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user