RemoteWithEnvironmentXmlCept.php 378 B

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