-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.xml
More file actions
52 lines (52 loc) · 2.49 KB
/
Copy pathphpunit.xml
File metadata and controls
52 lines (52 loc) · 2.49 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
<?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"
>
<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>
<!-- Against a real Temporal server; see tests/integration/Temporal/TemporalServerTestCase.php -->
<testsuite name="integration">
<directory>tests/integration</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>
</include>
<exclude>
<directory>src/Bridge/Temporal/Api</directory>
<directory>src/Bridge/Temporal/Generated</directory>
</exclude>
</source>
</phpunit>