Closed jorge07 closed 3 years ago
Fixes #191
docker-compose -f docker-compose.yml -f etc/ci/docker-compose.yml exec -T php sh -lc "./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" PHPUnit 9.3.0 by Sebastian Bergmann and contributors. Testing ............................................................... 63 / 63 (100%) Time: 08:52.797, Memory: 48.00 MB OK (63 tests, 130 assertions) Generating code coverage report in Clover XML format ... done [00:00.050] Generating code coverage report in HTML format ... done [00:00.374]
docker-compose -f docker-compose.yml -f etc/ci/docker-compose.yml exec -T php sh -lc "./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" PHPUnit 9.3.0 by Sebastian Bergmann and contributors. Testing ............................................................... 63 / 63 (100%) Time: 07:19.836, Memory: 48.00 MB OK (63 tests, 130 assertions) Generating code coverage report in Clover XML format ... done [00:00.038] Generating code coverage report in HTML format ... done [00:00.345]
docker-compose -f docker-compose.yml -f etc/ci/docker-compose.yml exec -T php sh -lc "php -dpcov.enabled='1' -dpcov.directory=. -dpcov.exclude='~vendor~' ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml" PHPUnit 9.3.0 by Sebastian Bergmann and contributors. Testing ............................................................... 63 / 63 (100%) Time: 00:04.752, Memory: 52.00 MB OK (63 tests, 130 assertions) Generating code coverage report in Clover XML format ... done [00:00.022] Generating code coverage report in HTML format ... done [00:00.231]
Fixes #191
Initial results
Refactoring some code after some blackfire help
After replace coverage from xdebug to pcov