-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.xml
More file actions
66 lines (64 loc) · 2.74 KB
/
Copy pathphpunit.xml
File metadata and controls
66 lines (64 loc) · 2.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
bootstrap="tests/bootstrap.php"
colors="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
>
<extensions>
<!--
Request-scoped state is process-wide in a test run. Without this,
an identity sealed by one test answers for every test after it —
which produced 135 failures in tests that had nothing to do with
authentication.
Both extensions live in src/, not tests/, because /tests is
export-ignored: a scaffolded application needs them just as much
and can only reference what the package actually ships.
-->
<bootstrap class="Pramnos\Framework\Testing\RequestIdentityIsolation"/>
<!--
The document is a mutable per-type singleton, and both code and tests
write to it. Three failures in one session appeared only in a full run,
because an earlier test had left the shared HTML document calling itself
`raw` — and the fix each time looked like a bug in the test that failed.
-->
<bootstrap class="Pramnos\Framework\Testing\DocumentIsolation"/>
<!--
The gate registry is static: abilities, policies and before/after hooks
registered by one test would answer for every test after it. Written with
the feature rather than after the failures, which is what the other two
paid for.
-->
<bootstrap class="Pramnos\Framework\Testing\GateIsolation"/>
</extensions>
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature Tests">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Integration Tests">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
<testsuite name="Characterization Tests">
<directory suffix="Test.php">./tests/Characterization</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
<coverage>
<report>
<clover outputFile="coverage/clover.xml"/>
</report>
</coverage>
</phpunit>