Fix Code coverage reporting

[MAILPOET-1064]
This commit is contained in:
Pavel Dohnal
2017-08-22 09:34:34 +02:00
parent 14810a22b5
commit a15b46cbab
3 changed files with 27 additions and 23 deletions

View File

@ -168,7 +168,7 @@ class RoboFile extends \Robo\Tasks {
$this->loadEnv();
$this->_exec('vendor/bin/codecept build -c codeception.unit.yml');
$command = join(' ', array(
'vendor/bin/codecept run -c codeception.unit.yml ',
'vendor/bin/codecept run unit -c codeception.unit.yml ',
(($opts['file']) ? $opts['file'] : ''),
'--coverage',
($opts['xml']) ? '--coverage-xml' : '--coverage-html'