IOP-Patho/vendor/codeception/base/tests/coverage/RemoteWithEnvironmentXmlCep...

10 lines
378 B
PHP
Raw Normal View History

2025-07-17 08:28:28 +00:00
<?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();