-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
31 lines (31 loc) · 836 Bytes
/
Copy pathphpunit.xml.dist
File metadata and controls
31 lines (31 loc) · 836 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
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="true"
failOnWarning="true"
failOnRisky="true"
>
<testsuites>
<!--
Discovery is by the test- prefix, so helper-*.php, bootstrap.php and
index.php need no <exclude> entries. Adding a helper never means
editing this file.
-->
<testsuite name="wp-postviews">
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./includes</directory>
<file>./wp-postviews.php</file>
<file>./uninstall.php</file>
</include>
</coverage>
</phpunit>