forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
35 lines (35 loc) · 995 Bytes
/
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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
cacheResultFile="./tests/.phpunit.result.cache"
>
<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="tests/wp-config.php" />
</php>
<testsuites>
<testsuite name="All Tests">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="false">
<include>
<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>
</include>
<exclude>
<file>includes/function.login-footer.php</file>
<file>includes/function.login-header.php</file>
</exclude>
<report>
<clover outputFile="tests/logs/clover.xml" />
<html outputDirectory="tests/logs/html" />
</report>
</coverage>
</phpunit>