forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
35 lines (33 loc) · 1015 Bytes
/
phpunit.xml.dist
File metadata and controls
35 lines (33 loc) · 1015 Bytes
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
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
cacheResultFile="./tests/.phpunit.result.cache"
>
<testsuites>
<testsuite name="All Tests">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false" processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">includes</directory>
<directory suffix=".php">providers</directory>
<file>class-two-factor-compat.php</file>
<file>class-two-factor-core.php</file>
<file>two-factor.php</file>
<exclude>
<file>includes/function.login-footer.php</file>
<file>includes/function.login-header.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="tests/logs/clover.xml" />
<log type="coverage-html" target="tests/logs/html" />
</logging>
</phpunit>