Skip to content

Commit f4be7ca

Browse files
committed
refactor: extract common integration test logic into abstract base classes
- Move duplicated test methods from WebFlux and WebMvc integration test classes to abstract base classes - WebFluxSseIntegrationTests, WebFluxStreamableIntegrationTests now extend AbstractMcpClientServerIntegrationTests - WebFluxStatelessIntegrationTests, WebMvcStatelessIntegrationTests now extend AbstractStatelessIntegrationTests - Each concrete test class now only implements transport-specific setup methods (prepareClients, prepareAsyncServerBuilder, prepareSyncServerBuilder) - Eliminates ~1300+ lines of duplicated test code across multiple files - Improves maintainability by centralizing test logic in reusable base classes Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
1 parent 1edd1b6 commit f4be7ca

File tree

7 files changed

+678
-3364
lines changed

7 files changed

+678
-3364
lines changed

0 commit comments

Comments
 (0)