<?php // @group simple \Codeception\Module\OrderHelper::appendToFile('S'); $I = new OrderGuy($scenario); $I->wantTo('write a marker to file to determine loading order'); $I->appendToFile('T');
<?php // @group simple \Codeception\Module\OrderHelper::appendToFile('S'); $I = new OrderGuy($scenario); $I->wantTo('write a marker and fail'); $I->appendToFile('T'); $I->failNow();
public function firstOne(OrderGuy $I) { $I->failNow(); }
<?php $scenario->group('simple'); \Codeception\Module\OrderHelper::appendToFile('S'); $I = new OrderGuy($scenario); $I->wantTo('write a marker, use can* functions and write a marker after the failures'); $I->appendToFile('T'); $I->canSeeFailNow(); $I->cantSeeFailNow(); $I->wantTo('ensure a second marker is written after failures'); $I->appendToFile('T');
protected function _after(OrderGuy $I) { $I->appendToFile('S'); }
protected function a6(OrderGuy $I) { $I->appendToFile('6'); }