-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
35 lines (35 loc) · 1.52 KB
/
Copy pathphpunit.xml
File metadata and controls
35 lines (35 loc) · 1.52 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
<?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"
defaultTestSuite="Unit"
cacheDirectory=".phpunit.cache">
<testsuites>
<!-- The default run. No broker, no network: `vendor/bin/phpunit` on a
laptop must stay a pure unit run, so tests/Integration is excluded
here rather than left to skip itself. -->
<testsuite name="Unit">
<directory>tests</directory>
<exclude>tests/Integration</exclude>
<exclude>tests/RedisIntegration</exclude>
</testsuite>
<!-- Needs a live broker, and nothing else: KV and timers are part of
every broker, so there is no flag to set first. Run by
test/runners/laravel; skips without QUEEN_HTTP_URL. -->
<testsuite name="Integration">
<directory>tests/Integration</directory>
</testsuite>
<!-- Real cross-process Laravel cache locks. This is separate from the
broker integration tree so the normal laptop run remains offline.
CI supplies Redis and QUEEN_LARAVEL_TEST_REDIS_HOST. -->
<testsuite name="RedisIntegration">
<directory>tests/RedisIntegration</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>