1.1.12 #74
koriym
announced in
Announcements
1.1.12
#74
Replies: 3 comments 4 replies
-
The config for path coverage is gone in 1.1.12. $ git diff 1.1.11...1.1.12 phpunit.xml.dist
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 96582b0..f92548e 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
- bootstrap="vendor/autoload.php">
- <coverage cacheDirectory=".phpunit.cache/code-coverage"
- processUncoveredFiles="true"
- pathCoverage="true">
- <include>
- <directory suffix=".php">src</directory>
- </include>
- </coverage>
- <testsuites>
- <testsuite name="all">
- <directory>tests</directory>
- </testsuite>
- </testsuites>
- <php>
- <ini name="error_reporting" value="-1"/>
- </php>
+<phpunit
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
+ bootstrap="vendor/autoload.php"
+>
+ <testsuites>
+ <testsuite name="__Vendor__.__Package__ test suite">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+ <coverage processUncoveredFiles="true">
+ <include>
+ <directory suffix=".php">src</directory>
+ </include>
+ </coverage>
+ <php>
+ <ini name="error_reporting" value="-1"/>
+ </php>
</phpunit> |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, I think I've done something wrong. Only xdebug is supported, and I think it's better to keep it simple by default. |
Beta Was this translation helpful? Give feedback.
2 replies
-
If the package supports only Xdebug coverage (not this package), it's fairly easy to set up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion was created from the release 1.1.12.
Beta Was this translation helpful? Give feedback.
All reactions