laravel - Php unit cover files of composer package
one text
i run tests in my laravel project but the test files are inside a composer package, here is my section of phpunit.xml
<testsuite name="Package Unit">
<directory suffix="Test.php">./vendor/mypackage/package/tests/Unit</directory>
</testsuite>
The tests works fine, but i'm not able to have them covered, i added the code below on phpunit.xml
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./vendor/mypackage/package/src</directory>
<directory suffix=".php">./app</directory>
</include>
</coverage>
But the coverage report contains only the filess inside the "app" dir, how can i solve this?
Source