mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
- added namespaces - used values from https://github.com/laravel/lumen - updated phpunit config - moved database migrations in phpunit test listener
33 lines
1019 B
XML
33 lines
1019 B
XML
<?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"
|
|
colors="true"
|
|
verbose="true"
|
|
>
|
|
<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>
|
|
</testsuite>
|
|
</testsuites>
|
|
<coverage>
|
|
<include>
|
|
<directory suffix=".php">./app</directory>
|
|
</include>
|
|
</coverage>
|
|
<listeners>
|
|
<listener class="Tests\IntegrationTestListener" />
|
|
</listeners>
|
|
<php>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<env name="CACHE_DRIVER" value="array"/>
|
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
|
</php>
|
|
</phpunit>
|