legoktm / clover-diff
This package is abandoned and no longer maintained.
The author suggests using the wikimedia/clover-diff package instead.
A tool to create a diff of two clover.xml files
1.4.0
2020-06-26 19:42 UTC
Requires
- php: >=5.5.9
- symfony/console: ^3.3 || ^4 || ^5
Requires (Dev)
- mediawiki/mediawiki-codesniffer: 19.2.0
- mediawiki/minus-x: 0.3.2 || 1.1.0
- php-parallel-lint/php-console-highlighter: 0.5.0
- php-parallel-lint/php-parallel-lint: 1.2.0
- phpunit/phpunit: 4.8.36 || ^6.5
README
A PHP tool to diff two clover.xml files.
To install:
composer require-dev legoktm/clover-diff
Usage:
./vendor/bin/clover-diff old-clover.xml new-clover.xml
It will return with a failure status code of 1 if any file in the new report has less coverage than before.
If you want to integrate this into your application, the Differ
class takes
the filename of two XML files, and will generate a Diff
for you.
clover-diff is (C) 2018 Kunal Mehta under the terms of the GPL v3, or any later version. See COPYING for more details.