codeception/c3
C3 is Codeception’s remote code coverage helper for PHP apps. It collects coverage from web/functional tests by instrumenting your entry point and forwarding results back to the test runner, making it easy to measure coverage on remote servers and CI.
Support Cobertura code coverage format
Minor but important fixes: #45 #46 #42 #47
#35 Fixed Uncaught ArgumentCountError #36 Added missing parameter to constructor of PHP_CodeCoverage_Report_PHPUnit aka SebastianBergmann\CodeCoverage\Report\Xml\Facade
Export code coverage in PHPUnit format, see #33
Fixed regression in 2.0.11 for composer update. See #30
Fix Composer notifications during install #29
Fixes by @Naktibalda
Minor patch which ensures that directory to store codecoverage report exists. Adds just this line:
if (!file_exists(dirname($current_report))) { // verify directory exists
mkdir(dirname($current_report), 0777, true);
} else {
__c3_error("Can't write CodeCoverage report into $current_report");
}
I think this new order has lot more sense: 1st. If codecept.phar file exists, load classes from there. 2nd. If autoloader exists, load it. 2nd-b. In case autoloader of codeception exists in vendor path, also it should be loaded, if not, some methods like 'codeception_relative_path' will not be loaded and Codeception/c3 will fail to load. 3rd. Try to load codeception autoloader (outside of vendor's path) 4th, Fail, no autoloader found.
How can I help you explore Laravel packages today?