forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml
28 lines (28 loc) · 806 Bytes
/
phpunit.xml
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
<phpunit
bootstrap="vendor/xwp/wp-dev-lib/sample-config/phpunit-plugin-bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<const name="WP_TEST_ACTIVATED_PLUGINS" value="two-factor/two-factor.php" />
</php>
<testsuites>
<testsuite name="All Tests">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">providers</directory>
<file>class-two-factor-compat.php</file>
<file>class-two-factor-core.php</file>
<file>two-factor.php</file>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="tests/logs/clover.xml" />
</logging>
</phpunit>