What
Add dedicated unit tests for 6 untested infrastructure and service modules. Part of #953 .
Scope
Module
Source Path
Category
client
src/core/client.cpp
Core base
server
src/core/server.cpp
Core base
health_monitor
src/core/health_monitor.cpp
Infrastructure
service_registry
src/core/service_registry.cpp
Infrastructure
memory_profiler
src/core/memory_profiler.cpp
Infrastructure
reliable_udp_client
src/experimental/reliable_udp_client.cpp
Experimental
Note: grpc_official_wrapper excluded — requires optional gRPC dependency (BUILD_GRPC_OFFICIAL=ON).
Why
client/server are the core base classes for all messaging implementations
health_monitor and service_registry provide runtime monitoring/discovery
memory_profiler tracks allocation patterns for performance analysis
Part of epic Expand unit test coverage from 40% to 80% #953 to raise coverage from ~48% to 80%
Where
Source: src/core/, src/experimental/
Tests: tests/unit/ (new test files)
CMake: tests/CMakeLists.txt (register new tests)
How
Technical Approach
client/server: test lifecycle (create, start, stop), configuration, state transitions
health_monitor: test health check registration, status reporting, threshold alerts
service_registry: test service registration, discovery, deregistration
memory_profiler: test allocation tracking, reporting, memory stats
reliable_udp_client: test reliability layer, retransmission, ordering
Acceptance Criteria
What
Add dedicated unit tests for 6 untested infrastructure and service modules. Part of #953.
Scope
clientsrc/core/client.cppserversrc/core/server.cpphealth_monitorsrc/core/health_monitor.cppservice_registrysrc/core/service_registry.cppmemory_profilersrc/core/memory_profiler.cppreliable_udp_clientsrc/experimental/reliable_udp_client.cppNote:
grpc_official_wrapperexcluded — requires optional gRPC dependency (BUILD_GRPC_OFFICIAL=ON).Why
Where
src/core/,src/experimental/tests/unit/(new test files)tests/CMakeLists.txt(register new tests)How
Technical Approach
Acceptance Criteria
GTEST_SKIP()markers