forked from anspress/anspress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
49 lines (45 loc) · 1.47 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
46
47
48
49
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
bootstrap="tests/Unit/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="true"
>
<testsuites>
<testsuite name="AnsPress-Core">
<directory prefix="Test" suffix=".php">./tests/Unit</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./includes/</directory>
<directory suffix=".php">./addons/</directory>
<directory suffix=".php">./admin/</directory>
<directory suffix=".php">./ajax/</directory>
<directory suffix=".php">./classes/</directory>
<directory suffix=".php">./includes/</directory>
<directory suffix=".php">./lib/</directory>
<directory suffix=".php">./widgets/</directory>
<directory suffix=".php">./anspress-question-answer.php</directory>
<directory suffix=".php">./activate.php</directory>
<directory suffix=".php">./loader.php</directory>
</include>
<exclude>
<directory suffix=".php">./addons/recaptcha/recaptcha/</directory>
</exclude>
</coverage>
<php>
<server name="WP_TESTS_PHPUNIT_POLYFILLS_PATH" value="./vendor/yoast/phpunit-polyfills"/>
</php>
</phpunit>