示例#1
0
<?php

$I = new ScenarioGuy($scenario);
$I->wantTo('check that suite config is available');
$I->amInPath('.');
$I->seeFileFound('scenario.suite.yml');
示例#2
0
<?php

$I = new ScenarioGuy($scenario);
$I->wantTo('fail when file is not found');
$I->amInPath('.');
$I->seeFileFound('games.zip');
示例#3
0
<?php

$I = new ScenarioGuy($scenario);
$I->wantTo('run scenario substeps');
$I->amInPath('.');
$I->seeCodeCoverageFilesArePresent();