koel/phpunit.xml.dist

55 lines
2.3 KiB
Text
Raw Normal View History

2015-12-13 04:42:28 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2021-01-07 21:43:36 +00:00
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="bootstrap/autoload.php" colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
2020-12-22 23:01:49 +00:00
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app/</directory>
</include>
<exclude>
<directory>./app/Console</directory>
<directory>./app/Events</directory>
<directory>./app/Exceptions</directory>
<directory>./app/Facades</directory>
<directory>./app/Http/Requests</directory>
<directory>./app/Models</directory>
<directory>./app/Policies</directory>
<directory>./app/Providers</directory>
<directory>./app/Repositories</directory>
</exclude>
2020-12-22 23:01:49 +00:00
</coverage>
2015-12-13 04:42:28 +00:00
<testsuites>
2017-08-05 16:56:11 +00:00
<testsuite name="feature">
2017-02-14 06:53:02 +00:00
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
2017-08-05 16:56:11 +00:00
<testsuite name="unit">
2017-02-14 06:53:02 +00:00
<directory suffix="Test.php">./tests/Unit</directory>
2015-12-13 04:42:28 +00:00
</testsuite>
2017-08-05 16:56:11 +00:00
<testsuite name="integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
2015-12-13 04:42:28 +00:00
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
2017-03-21 04:15:06 +00:00
<env name="APP_URL" value="http://localhost/"/>
2016-09-26 07:57:04 +00:00
<env name="APP_KEY" value="16efa6c23c2e8c705826b0e66778fbe7"/>
<env name="STORAGE_DRIVER" value="local"/>
2015-12-13 04:42:28 +00:00
<env name="CACHE_DRIVER" value="array"/>
<env name="SCOUT_DRIVER" value="tntsearch"/> <!-- "database" driver doesn't support SQLite -->
2015-12-13 04:42:28 +00:00
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
2015-12-13 04:50:39 +00:00
<env name="DB_CONNECTION" value="sqlite"/>
<env name="LASTFM_API_KEY" value="foo"/>
<env name="LASTFM_API_SECRET" value="bar"/>
<env name="SPOTIFY_CLIENT_ID" value=""/>
<env name="SPOTIFY_CLIENT_SECRET" value=""/> <!-- Spotify integration during tests must be opt-in -->
2016-07-14 08:47:50 +00:00
<env name="YOUTUBE_API_KEY" value="foo"/>
2016-09-26 07:45:19 +00:00
<env name="BROADCAST_DRIVER" value="log"/>
2017-04-28 14:56:22 +00:00
<env name="CACHE_MEDIA" value="true"/>
2024-02-25 19:32:53 +00:00
<env name="MAIL_MAILER" value="log"/>
2020-12-22 23:01:49 +00:00
<ini name="memory_limit" value="512M"/>
2015-12-13 04:42:28 +00:00
</php>
</phpunit>