-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
29 lines (29 loc) · 1.2 KB
/
phpunit.xml
File metadata and controls
29 lines (29 loc) · 1.2 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<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="browser">
<directory suffix="Test.php">./tests/Browser</directory>
<exclude>./tests/Browser/ScreenshotsTest.php</exclude>
</testsuite>
</testsuites>
<coverage/>
<php>
<!-- HTTP_HOST is what wp server emits in Location headers; just host:port,
no scheme, or redirects render as http://http://127.0.0.1:8080/...
All other test env (WP_ENV, DB_NAME, WP_HOME, etc.) lives in
.env.testing, loaded by tests/FeatureTestCase.php. -->
<server name="HTTP_HOST" value="127.0.0.1:8080" force="true"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>