Repository navigation
Expand file tree
/
Copy pathphpunit.integration.xml
More file actions
42 lines (42 loc) · 1.8 KB
/
Copy pathphpunit.integration.xml
File metadata and controls
42 lines (42 loc) · 1.8 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
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/integration-bootstrap.php"
colors="true"
verbose="true"
failOnRisky="true"
failOnWarning="false"
beStrictAboutOutputDuringTests="false"
beStrictAboutTestsThatDoNotTestAnything="true"
cacheResultFile=".phpunit-integration.result.cache">
<groups>
<!--
The uninstall suite drops Sikshya's tables and removes its roles.
DROP TABLE forces an implicit commit, which defeats the transaction
wp-phpunit wraps each test in, so running it alongside the rest
would leave later tests without a schema. Run it on its own by
passing the group name "uninstall" to phpunit.
-->
<exclude>
<group>uninstall</group>
<!--
The migration suite needs real (non TEMPORARY) legacy tables so
the steps' SHOW TABLES detection sees them, which also forces an
implicit commit. Excluded for the same reason as above; run it on
its own by passing the group name "migration" to phpunit.
-->
<group>migration</group>
<!--
Multisite tests need the network schema, which only
phpunit.multisite.xml installs. Excluded here so they are not
reported as skipped on every single-site run.
-->
<group>multisite</group>
</exclude>
</groups>
<testsuites>
<testsuite name="integration">
<directory suffix="Test.php">tests/Integration</directory>
</testsuite>
</testsuites>
</phpunit>