From cab7c1472b7c135314d4da7b1055af25ff7f0009 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Sun, 20 Oct 2013 00:37:22 +0200 Subject: [PATCH] refs #4224 include uncovered files to code coverage --- plugins/CoreConsole/CodeCoverage.php | 2 +- tests/PHPUnit/phpunit.xml.dist | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/plugins/CoreConsole/CodeCoverage.php b/plugins/CoreConsole/CodeCoverage.php index bcc0fbdbb57..f87c62b0601 100644 --- a/plugins/CoreConsole/CodeCoverage.php +++ b/plugins/CoreConsole/CodeCoverage.php @@ -87,7 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output) shell_exec(sprintf('rm -rf %s/tests/results/coverage/*', PIWIK_DOCUMENT_ROOT)); - passthru(sprintf('cd %1$s && %2$s --merge --html tests/results/coverage/ --whitelist ./core/ --whitelist ./plugins/ %1$s/tests/results/logs/', PIWIK_DOCUMENT_ROOT, $command)); + passthru(sprintf('cd %1$s && %2$s --merge --html tests/results/coverage/ --whitelist ./core/ --whitelist ./plugins/ --add-uncovered %1$s/tests/results/logs/', PIWIK_DOCUMENT_ROOT, $command)); } } \ No newline at end of file diff --git a/tests/PHPUnit/phpunit.xml.dist b/tests/PHPUnit/phpunit.xml.dist index 6778b37a8b5..0cc88760ea0 100644 --- a/tests/PHPUnit/phpunit.xml.dist +++ b/tests/PHPUnit/phpunit.xml.dist @@ -44,15 +44,4 @@ - - - - - ../../core - ../../plugins - - -