Repository navigation
Replies: 2 comments
|
I set up my phpunit.xml like this <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>./tests/Feature</directory>
</testsuite>
<testsuite name="Modules">
<directory>./Modules/*/Tests/Feature</directory>
<directory>./Modules/*/Tests/Unit</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
<directory>./Modules</directory>
</include>
<exclude>
<directory>./Modules/Migration</directory>
<directory>./Modules/*/config</directory>
<directory>./Modules/*/database</directory>
<directory>./Modules/*/resources</directory>
<directory>./Modules/*/routes</directory>
<directory>./Modules/*/tests</directory>
</exclude>
</source>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="MAIL_MAILER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="TELESCOPE_ENABLED" value="false"/>
</php>
</phpunit> |
0 replies
|
Closing as answered. Thanks everyone! If you still need help on the current release, please open a new discussion. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
i have changed the structure a bit to isolate the tests from the logic ex.
however i've tried multiple configs
in that case the report is including the modules files but all as
0& if i setprocessUncoveredFiles="true"only theappfolder will be reported.so any help of a working example is appreciated.
All reactions