-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
45 lines (42 loc) · 1.37 KB
/
phpunit.xml
File metadata and controls
45 lines (42 loc) · 1.37 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
45
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="tests/php/bootstrap.php"
colors="true"
stopOnFailure="false"
testdox="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Unit Tests">
<directory>tests/php/unit</directory>
</testsuite>
<testsuite name="Integration Tests">
<directory>tests/php/integration</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="tests/coverage/html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
</report>
</coverage>
<source>
<include>
<directory suffix=".php">app/</directory>
<file>surefeedback.php</file>
</include>
<exclude>
<directory>vendor/</directory>
<directory>tests/</directory>
<directory>node_modules/</directory>
</exclude>
</source>
<php>
<const name="WP_TESTS_DOMAIN" value="example.org"/>
<const name="WP_TESTS_EMAIL" value="admin@example.org"/>
<const name="WP_TESTS_TITLE" value="Test Blog"/>
<const name="WP_MEMORY_LIMIT" value="256M"/>
</php>
</phpunit>