test(facade): add QUIC facade tests and expand TCP facade coverage#958
Merged
test(facade): add QUIC facade tests and expand TCP facade coverage#958
Conversation
Add comprehensive unit test file for QUIC facade (test_quic_facade.cpp) covering client/server config validation, creation, interface conformance, guard paths, edge cases, and callback setup. Expand TCP facade tests with server creation, connection pool, SSL validation, interface conformance, guard paths, and callback tests. Register QUIC facade test target in CMakeLists.txt.
Contributor
Performance ComparisonBase Branch ResultsNo base results PR Branch ResultsNo PR results |
Contributor
Coverage Report
Coverage DetailsFull HTML report is available as a build artifact. |
This was referenced Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Summary
Add comprehensive unit tests for the QUIC facade (the only facade missing a dedicated test file) and significantly expand TCP facade test coverage with server creation, connection pool, SSL validation, interface conformance, and guard path tests.
Change Type
Affected Components
tests/test_quic_facade.cpp- New QUIC facade test file (53 test cases)tests/test_tcp_facade.cpp- Expanded from 4 to 24+ test casestests/CMakeLists.txt- Register QUIC facade test targetWhy
Related Issues
Motivation
All five protocol facades (TCP, UDP, HTTP, WebSocket, QUIC) had existing tests except QUIC, which had no dedicated test file. TCP facade tests were sparse (only validation tests). This PR closes those coverage gaps by:
test_quic_facade.cppwith full coverage of QUIC-specific features (ALPN, mutual TLS, 0-RTT, idle timeout, max connections)How
Implementation Details
QUIC Facade Tests (
test_quic_facade.cpp):TCP Facade Tests (expanded
test_tcp_facade.cpp):Test Plan
Checklist