<?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');
Example #2
0
<?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();
 }
Example #4
0
<?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');
Example #5
0
 protected function _after(OrderGuy $I)
 {
     $I->appendToFile('S');
 }
Example #6
0
 protected function a6(OrderGuy $I)
 {
     $I->appendToFile('6');
 }