-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpunit.xml
36 lines (36 loc) · 1.81 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Feature">
<directory suffix=".php">./tests/Feature</directory>
<exclude>./tests/Feature/Admin/Users/WikiLoginTests.php</exclude>
<exclude>./tests/Feature/Microtasks/ExampleTest.php</exclude>
<exclude>./tests/Feature/Stats/StatsTestCase.php</exclude>
<exclude>./tests/Feature/StyleTest.php</exclude>
<exclude>./tests/Feature/Users/Registration/DiscourseAccountCreationTests.php</exclude>
</testsuite>
<testsuite name="Unit">
<directory suffix=".php">./tests/Unit</directory>
<exclude>./tests/Unit/CharsetTest.php</exclude>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="database"/>
<env name="MAIL_MAILER" value="array"/>
<env name="DB_CONNECTION" value="mysql_testing"/>
<env name="DB_TEST_DATABASE" value="restarters_db"/>
<env name="DB_TEST_USERNAME" value="restarters"/>
<env name="DB_TEST_PASSWORD" value="s3cr3t"/>
<env name="AUDIT_CONSOLE_EVENTS" value="true"/>
<env name="CALENDAR_HASH" value="somehash"/>
</php>
</phpunit>