Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
94 lines (94 loc) · 4.93 KB
/
Copy pathphpunit.xml
File metadata and controls
94 lines (94 loc) · 4.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
testdox="true">
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
<exclude>tests/Unit/Grpc/GrpcClientTest.php</exclude>
<exclude>tests/Unit/Grpc/GrpcClientTimevalDeadlineTest.php</exclude>
<exclude>tests/Unit/Grpc/GrpcClientChannelIsolationTest.php</exclude>
<exclude>tests/Unit/Grpc/GrpcClientIdleSweepTest.php</exclude>
<exclude>tests/Unit/Grpc/GrpcClientChannelCapTest.php</exclude>
<exclude>tests/Unit/Grpc/RawKvBatchMetricsTest.php</exclude>
<exclude>tests/Unit/Grpc/GrpcClientRpcCompletionTest.php</exclude>
<exclude>tests/Unit/Grpc/BatchCommandsConnectionDeadlineTest.php</exclude>
<exclude>tests/Unit/Batch/GrpcFutureTest.php</exclude>
<exclude>tests/Unit/RawKv/RawKvBatchTest.php</exclude>
<exclude>tests/Unit/RawKv/RawKvBatchConcurrencyCapTest.php</exclude>
<exclude>tests/Unit/RawKv/RawKvClientTest.php</exclude>
<exclude>tests/Unit/Batch/BatchAsyncExecutorTest.php</exclude>
<exclude>tests/Unit/Batch/CheckedGrpcFutureTest.php</exclude>
<exclude>tests/Unit/RawKv/SstIngestorTest.php</exclude>
<exclude>tests/Unit/RawKv/RawKvBatchBatchCommandsGrpcTest.php</exclude>
</testsuite>
<testsuite name="Grpc">
<!-- The gRPC-dependent classes live here (they mock \Grpc\Call and
need ext-grpc, which the unit-tests CI job does not install).
ParallelRangeOpsCapTest and
CheckedGrpcFutureRetryableDispatchTest are pure PHP: they run
in the Unit suite (no ext needed) and are deliberately NOT
listed here again — a file that is in two selected suites
makes PHPUnit emit "Cannot add file ... as it was already
added to test suite ...", which fails the run that selects
both suites (the CI coverage job). -->
<file>tests/Unit/Grpc/GrpcClientTest.php</file>
<file>tests/Unit/Grpc/GrpcClientTimevalDeadlineTest.php</file>
<file>tests/Unit/Grpc/GrpcClientChannelIsolationTest.php</file>
<file>tests/Unit/Grpc/GrpcClientIdleSweepTest.php</file>
<file>tests/Unit/Grpc/GrpcClientChannelCapTest.php</file>
<file>tests/Unit/Grpc/RawKvBatchMetricsTest.php</file>
<file>tests/Unit/Grpc/GrpcClientRpcCompletionTest.php</file>
<file>tests/Unit/Grpc/BatchCommandsConnectionDeadlineTest.php</file>
<file>tests/Unit/Batch/GrpcFutureTest.php</file>
<file>tests/Unit/RawKv/RawKvBatchTest.php</file>
<file>tests/Unit/RawKv/RawKvBatchConcurrencyCapTest.php</file>
<file>tests/Unit/RawKv/RawKvClientTest.php</file>
<file>tests/Unit/Batch/BatchAsyncExecutorTest.php</file>
<file>tests/Unit/Batch/CheckedGrpcFutureTest.php</file>
<file>tests/Unit/RawKv/RawKvBatchBatchCommandsGrpcTest.php</file>
<file>tests/Unit/RawKv/SstIngestorTest.php</file>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="E2E-RawKV">
<directory>tests/E2E</directory>
<exclude>tests/E2E/TxnKvE2ETest.php</exclude>
<exclude>tests/E2E/GcSafePointE2ETest.php</exclude>
<exclude>tests/E2E/FastCommitModesE2ETest.php</exclude>
<exclude>tests/E2E/PdFailoverE2ETest.php</exclude>
<exclude>tests/E2E/ApiV2E2ETest.php</exclude>
</testsuite>
<testsuite name="E2E-TxnKV">
<file>tests/E2E/TxnKvE2ETest.php</file>
<file>tests/E2E/GcSafePointE2ETest.php</file>
<file>tests/E2E/FastCommitModesE2ETest.php</file>
<file>tests/E2E/PdFailoverE2ETest.php</file>
</testsuite>
<testsuite name="E2E-ApiV2">
<file>tests/E2E/ApiV2E2ETest.php</file>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
<!-- The generated protobuf/gRPC classes are not hand-written code:
nobody writes tests for them, so counting them would drag the
reported percentage down by more than half and make the coverage
floor measure the generated code instead of the client. -->
<exclude>
<directory>src/Proto</directory>
</exclude>
</source>
<coverage>
<report>
<clover outputFile="coverage.xml"/>
<html outputDirectory="coverage-html"/>
</report>
</coverage>
</phpunit>