-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
44 lines (41 loc) · 1.46 KB
/
phpunit.xml
File metadata and controls
44 lines (41 loc) · 1.46 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="https://schema.phpunit.de/9.0/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
verbose="true"
stopOnFailure="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>tests/php/unit</directory>
</testsuite>
<testsuite name="Integration Tests">
<directory>tests/php/integration</directory>
</testsuite>
<testsuite name="Security Tests">
<directory>tests/php/security</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">includes</directory>
<file>aiwp-copilot.php</file>
</include>
<exclude>
<directory>includes/settings-page.php</directory>
</exclude>
<report>
<html outputDirectory="coverage/php"/>
<clover outputFile="coverage/clover.xml"/>
<text outputFile="php://stdout" showUncoveredFiles="true"/>
</report>
</coverage>
<php>
<env name="WP_TESTS_DIR" value="./vendor/wp-phpunit/wp-phpunit"/>
<const name="WP_TESTS_PHPUNIT_POLYFILLS_PATH" value="./vendor/yoast/phpunit-polyfills"/>
</php>
</phpunit>