-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpunit.xml
More file actions
65 lines (65 loc) · 3.13 KB
/
Copy pathphpunit.xml
File metadata and controls
65 lines (65 loc) · 3.13 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
failOnRisky="true"
failOnWarning="true"
beStrictAboutTestsThatDoNotTestAnything="true"
displayDetailsOnSkippedTests="true"
>
<testsuites>
<testsuite name="unit">
<directory>tests/unit</directory>
<!-- rector/rector ships its own nikic/php-parser, unprefixed. Under coverage,
php-code-coverage loads the project's and both declare themselves: "Cannot declare
class PhpParser\Node\Scalar\Float_". Hence a suite of its own, left out of
coverage — src/DurableRector is not in <source> anyway. -->
<exclude>tests/unit/DurableRector</exclude>
<!-- And the Laravel package, which has a suite of its own so the "Laravel x / PHP y"
matrix can exercise it against a pinned illuminate/* line. PHPUnit refuses the same
file in two suites: "Cannot add file … to test suite \"laravel\" as it was already
added to test suite \"unit\"". `composer test` runs them all, so QA always sees
it. -->
<exclude>tests/unit/DurableLaravel</exclude>
</testsuite>
<testsuite name="rector">
<directory>tests/unit/DurableRector</directory>
</testsuite>
<!-- The Laravel integration package, isolated so the "Laravel x / PHP y" matrix can
exercise it on its own against a pinned illuminate/* line. -->
<testsuite name="laravel">
<directory>tests/unit/DurableLaravel</directory>
</testsuite>
<testsuite name="plugin">
<directory>src/DurablePlugin/tests</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/integration</directory>
<exclude>tests/integration/Temporal</exclude>
</testsuite>
<!-- Against a real Temporal server; see tests/integration/Temporal/TemporalServerTestCase.php.
A suite of its own so QA can leave it to the Temporal jobs and fail on any other skip. -->
<testsuite name="temporal">
<directory>tests/integration/Temporal</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src/Durable</directory>
<directory>src/DurableBundle</directory>
<directory>src/Bridge/Temporal</directory>
<directory>src/Bridge/Dbal</directory>
<directory>src/DurablePlugin</directory>
<directory>src/Bridge/Illuminate</directory>
<directory>src/DurableLaravel</directory>
<directory>src/DurableModule</directory>
<directory>src/DurablePhpstan</directory>
</include>
<exclude>
<directory>src/Bridge/Temporal/Api</directory>
<directory>src/Bridge/Temporal/Generated</directory>
</exclude>
</source>
</phpunit>