-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathphpunit.xml
More file actions
29 lines (29 loc) · 1.83 KB
/
Copy pathphpunit.xml
File metadata and controls
29 lines (29 loc) · 1.83 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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd">
<testsuites>
<testsuite name="SiteOrigin Panels AI Exposure Tests">
<directory>./tests</directory>
<!-- The copy-content parity suite needs the REAL SiteOrigin_Panels_Admin
loaded first (it asserts the extracted copy_content_to_post()), which
conflicts with AbilitiesTest's Admin shim. It runs separately via
phpunit-copy-content.xml. -->
<exclude>./tests/copy-content</exclude>
<!-- The save-post sanitization suite (develop's stored-XSS fix tests) also
needs the REAL SiteOrigin_Panels_Admin and defines its own SiteOrigin_Panels
stub, incompatible in-process with both the AbilitiesTest shim and the
copy-content stub. It runs separately via phpunit-save-post.xml. -->
<exclude>./tests/save-post</exclude>
<!-- Develop's Layout Block signature suites require the REAL
SiteOrigin_Panels_Admin + SiteOrigin_Panels_Compat_Layout_Block,
incompatible in-process with AbilitiesTest's Admin shim. They run
separately via phpunit-layout-block.xml. -->
<exclude>./tests/layout-block</exclude>
<!-- The import-layout guard suite needs its own SiteOrigin_Panels_Admin
spy shim (process_raw_widgets recorder), incompatible in-process with
AbilitiesTest's Admin shim and with the real wp_unslash() defined by
tests/AbilitiesTest.php. It runs separately via
phpunit-import-layout.xml. -->
<exclude>./tests/import-layout</exclude>
</testsuite>
</testsuites>
</phpunit>