-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
36 lines (35 loc) · 1.22 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
36 lines (35 loc) · 1.22 KB
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
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/php/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertDeprecationsToExceptions="false"
beStrictAboutTestsThatDoNotTestAnything="false"
failOnWarning="false"
>
<testsuites>
<!--
The "core" suite runs WITHOUT WooCommerce loaded. It covers the
field-type axis (sanitization, wp_type, defaults, normalization),
the canonical Options round-trip, the non-WooCommerce integration
surfaces, the REST API, meta registration, and asserts that the
plugin degrades gracefully when WooCommerce is absent.
-->
<testsuite name="core">
<directory suffix="Test.php">tests/php/Core</directory>
</testsuite>
<!--
The "woocommerce" suite runs with WooCommerce loaded (requires the
WPCF_WITH_WOOCOMMERCE=1 environment variable so the bootstrap loads
and installs the plugin). Use `composer test:wc`.
-->
<testsuite name="woocommerce">
<directory suffix="Test.php">tests/php/WooCommerce</directory>
</testsuite>
</testsuites>
</phpunit>