BiFace_Server_Lite/vendor/codeception/base/tests/coverage/RemoteWithEnvironmentXmlCept.php
2020-03-27 10:13:51 +07:00

10 lines
378 B
PHP

<?php
$I = new CoverGuy($scenario);
$I->wantTo('try generate codecoverage xml report with environment');
$I->amInPath('tests/data/sandbox');
$I->executeCommand('run remote --coverage-xml --env default');
$I->seeInShellOutput('Code Coverage Report');
$I->dontSeeInShellOutput('RemoteException');
$I->seeFileFound('coverage.xml', 'tests/_output');
$I->seeCoverageStatsNotEmpty();