init
This commit is contained in:
28
vendor/codeception/base/tests/cli/MixedIncludeCest.php
vendored
Normal file
28
vendor/codeception/base/tests/cli/MixedIncludeCest.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
class MixedIncludeCest
|
||||
{
|
||||
/**
|
||||
* @after checkAllSuitesExecuted
|
||||
* @param CliGuy $I
|
||||
*/
|
||||
public function runIncludedSuites(\CliGuy $I)
|
||||
{
|
||||
$I->amInPath('tests/data/included_mix');
|
||||
$I->executeCommand('run');
|
||||
}
|
||||
|
||||
/**
|
||||
* @after checkAllSuitesExecuted
|
||||
* @param \CliGuy $I
|
||||
*/
|
||||
public function runIncludedSuiteFromCurrentDir(\CliGuy $I)
|
||||
{
|
||||
$I->executeCommand('run -c tests/data/included_mix');
|
||||
}
|
||||
|
||||
protected function checkAllSuitesExecuted(\CliGuy $I)
|
||||
{
|
||||
$I->seeInShellOutput('AcmePack.unit Tests (1)');
|
||||
$I->seeInShellOutput('Unit Tests (1)');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user