-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathphpunit.xml
More file actions
50 lines (50 loc) · 2.41 KB
/
Copy pathphpunit.xml
File metadata and controls
50 lines (50 loc) · 2.41 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
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<!--
Drives the GENERATED PHPUnit mirror of Testo's own test suite (tests/PhpUnit/),
produced by `composer phpunit:build`. Its sole purpose is mutation testing of the
engine with a runner that shares no code with the mutated `core/` (see
bridge/rector/README.md "Why Testo -> PHPUnit"). Not the primary test runner —
`composer test` (Testo) is.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="tools/phpunit/vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory="runtime/.phpunit.cache"
executionOrder="depends,defects"
failOnRisky="false"
failOnWarning="false"
failOnPhpunitWarning="false"
displayDetailsOnTestsThatTriggerWarnings="true"
colors="true">
<testsuites>
<testsuite name="generated">
<directory>tests/PhpUnit</directory>
<!--
Testo Stub/Fixture classes are support data — test doubles and sample sources Testo's
own unit tests reflect on. Some are deliberately named like real test classes (*Test),
so PHPUnit must not collect them. Excluding a directory here only stops test
COLLECTION; the classes still autoload when a real test references them. The build
leaves them unconverted under Stub/ and Fixture/ dirs, so exclude those at any depth.
-->
<exclude>tests/PhpUnit/*/Fixture</exclude>
<exclude>tests/PhpUnit/*/*/Fixture</exclude>
<exclude>tests/PhpUnit/*/*/*/Fixture</exclude>
<exclude>tests/PhpUnit/*/Stub</exclude>
<exclude>tests/PhpUnit/*/*/Stub</exclude>
<exclude>tests/PhpUnit/*/*/*/Stub</exclude>
</testsuite>
</testsuites>
<!--
Coverage scope must list every directory whose classes the mirror's tests target via
#[CoversClass]; PHPUnit 13 raises a (failing) warning for a covered class outside it. The
tests cover core plus the plugins/bridges, so include their src too. Mutation scope stays
core-only — that is set separately in infection.phpunit.json.
-->
<source>
<include>
<directory>core</directory>
<directory>plugin/*/src</directory>
<directory>bridge/*/src</directory>
</include>
</source>
</phpunit>