Skip to content

Commit 8a309b3

Browse files
abnegateclaude
andcommitted
(test): exclude runtime-only code from coverage
Server/ (Swoole event loops) and Sockmap/ (FFI + BPF kernel code) can only execute inside a live Swoole process. Exclude them so coverage reflects the testable library surface: adapters, resolvers, DNS, protocol detection, validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 93cac03 commit 8a309b3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

phpunit.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@
1313
<include>
1414
<directory>src</directory>
1515
</include>
16+
<exclude>
17+
<directory>src/Server</directory>
18+
<directory>src/Sockmap</directory>
19+
</exclude>
1620
</source>
1721
</phpunit>

0 commit comments

Comments
 (0)