-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathphpunit.xml
More file actions
44 lines (44 loc) · 1.92 KB
/
phpunit.xml
File metadata and controls
44 lines (44 loc) · 1.92 KB
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
37
38
39
40
41
42
43
44
<?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" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupGlobals="false" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" failOnRisky="true" failOnWarning="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Architecture">
<directory suffix="Test.php">./tests/Arch</directory>
</testsuite>
<testsuite name="Browser">
<directory suffix="Test.php">./tests/Browser</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
<teamcity outputFile="build/teamcity.txt"/>
</logging>
<php>
<server name="APP_ENV" value="testing"/>
<server name="APP_URL" value="http://opendk.test"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
<server name="PLAYWRIGHT_TIMEOUT" value="30000"/>
<server name="JWT_SECRET" value="test_secret_key_for_testing_only_do_not_use_in_production"/>
<!-- Database settings for testing
<server name="DB_CONNECTION" value="mysql"/>
<server name="DB_DATABASE" value="opendk_testing"/>
<server name="DB_USERNAME" value="root"/>
<server name="DB_PASSWORD" value="rahasia"/>
-->
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
</include>
</source>
</phpunit>