Commit Graph

7 Commits

Author SHA1 Message Date
Loretta e33fae85f3 Refactor tests to use GetResponseData<T> for responses
Update SignalRClientToEndpointTest to use the generic GetResponseData<T>() method instead of directly accessing the ResponseData property. This improves type safety and ensures consistent handling of response data across all relevant test cases.
2025-12-14 01:45:06 +01:00
Loretta 4e672b4264 Remove SignalR test client and disable Null plugin managers
- Deleted Mango.Sandbox.SignalRTestClient project and all related files from the solution.
- Switched appsettings.json connection string to use FruitBank_DEV.
- Cleaned up project references in Mango.Sandbox.EndPoints and its test project.
- Commented out all Null* plugin manager/service classes in Mango.Sandbox.EndPoints.Services.
2025-12-13 12:32:14 +01:00
Loretta 0dab07d2e8 Add SignalR binary serialization tests for CustomerDto lists
- Add endpoints and tests for binary serialization of TestCustomerDto lists to reproduce and diagnose MessagePack interned string index errors
- Update appsettings.json to use FruitBank_PROD database
- Set AcBinarySerializerOptions in DevAdminSignalRHubSandbox
- Extend TestSignalRTags and ITestSignalREndpointServer for new endpoints
- Add TestCustomerDto class for serialization tests
- Remove obsolete low-level SignalR/HTTP endpoint test files
2025-12-13 00:16:58 +01:00
Loretta c8fa8d1c4c Minimal SignalR test hub and endpoint for isolated testing
Refactored Mango.Sandbox.EndPoints to enable minimal, dependency-light SignalR endpoint testing. Introduced DevAdminSignalRHubSandbox and TestSignalREndpoint for protocol/contract tests without full NopCommerce/FruitBank infra. Added SignalRClientSandbox and comprehensive MSTest coverage for all parameter types. Simplified Program.cs startup, updated project references, and added minimal logger. Original SignalREndpointTests replaced with focused, low-level and high-level tests. CORS and DTOs updated for compatibility.
2025-12-11 23:46:35 +01:00
Loretta 9a3720f053 Add FruitBank SANDBOX for isolated SignalR endpoint testing
Introduces a new SANDBOX environment with a dedicated web app (`Mango.Sandbox.EndPoints`) for testing SignalR endpoints in isolation from the main application. Adds null plugin manager implementations to avoid plugin dependencies. Includes automated MSTest tests (`Mango.Sandbox.EndPoints.Tests`), a manual SignalR test client, and a PowerShell script for building and running the sandbox. Provides configuration files and health endpoints for robust, independent development and testing of FruitBank SignalR logic.
2025-12-10 09:47:06 +01:00
Loretta adfa4dd3e2 improvements, fixes, etc 2025-10-19 06:14:40 +02:00
Adam 2311842089 Initial commit 2025-08-27 19:56:51 +02:00