-
Notifications
You must be signed in to change notification settings - Fork 23
/
phpunit.xml.dist
45 lines (45 loc) · 1.59 KB
/
phpunit.xml.dist
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
45
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="phpunit_bootstrap.php"
backupGlobals="false"
colors="true"
testdox="true"
processIsolation="true"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<coverage>
<report>
<clover outputFile="clover.xml"/>
</report>
</coverage>
<php>
<ini name="memory_limit" value="512M"/>
<env name="WORDPRESS_DB_USER" value="wordpress" force="true" />
<env name="WORDPRESS_DB_PASSWORD" value="wordpress" force="true" />
<env name="WORDPRESS_DB_NAME" value="wordpress" force="true" />
<env name="WORDPRESS_DB_HOST" value="wpdb:3308" force="true" />
<env name="WORDPRESS_TABLE_PREFIX" value="wp_" force="true" />
</php>
<testsuites>
<testsuite name="Unit">
<directory suffix='Test.php'>./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix='Test.php'>./tests/Feature</directory>
</testsuite>
</testsuites>
<logging/>
<source>
<include>
<directory suffix=".php">./simple-jwt-login/src</directory>
</include>
<exclude>
<file>./simple-jwt-login/src/Modules/WordPressData.php</file>
<directory suffix=".php">./simple-jwt-login/src/Libraries/</directory>
</exclude>
</source>
</phpunit>