jikan-rest/phpunit.xml

33 lines
1019 B
XML
Raw Normal View History

2018-04-21 12:59:48 +05:00
<?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="bootstrap/tests.php"
2018-04-21 12:59:48 +05:00
colors="true"
2019-07-17 05:39:12 +05:00
verbose="true"
>
2018-04-21 12:59:48 +05:00
<testsuites>
<testsuite name="http-integration">
<directory>./tests/HttpV4/</directory>
</testsuite>
<testsuite name="integration">
<directory>./tests/integration/</directory>
</testsuite>
<testsuite name="unit">
<directory>./tests/unit/</directory>
2018-04-21 12:59:48 +05:00
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<listeners>
<listener class="Tests\IntegrationTestListener" />
</listeners>
2018-04-21 12:59:48 +05:00
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
2018-04-21 12:59:48 +05:00
</php>
</phpunit>