26 lines
834 B
PHP
26 lines
834 B
PHP
<?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');
|
|
}
|
|
}
|