You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This php script will read the clover xml report from phpunit and calculates the coverage score. Based on the given threshold the script will exit ok of the coverage is higher then the threshold or exit with code 1 if the coverage is lower then the threshold.
3
5
This script can be used in your continuous deployment environment or for example added to a pre-commit hook.
4
6
5
7
# Installation
6
-
The script can be installed using composer.Add this repository as a dependency to the composer.json file.
8
+
The script can be installed using composer.Add this repository as a dependency to the composer.json file.
@@ -29,5 +31,5 @@ It's also possible to add the coverage report generation to the phpunit.xml.dist
29
31
</logging>
30
32
```
31
33
32
-
For more information see the [phpunit documentation](https://phpunit.de/manual/5.3/en/index.html).
33
-
Information about the [configuration file](https://phpunit.de/manual/5.3/en/appendixes.configuration.html#appendixes.configuration) and [commandline options](https://phpunit.de/manual/current/en/textui.html#textui.clioptions).
34
+
For more information see the [phpunit documentation](https://phpunit.de/manual/5.3/en/index.html).
35
+
Information about the [configuration file](https://phpunit.de/manual/5.3/en/appendixes.configuration.html#appendixes.configuration) and [commandline options](https://phpunit.de/manual/current/en/textui.html#textui.clioptions).
0 commit comments