AyCode.Core/AyCode.Services.Server.Tests/SignalRs
Loretta cdcb200643 Add LLM onboarding docs and standardize project READMEs
- Introduced `.github/copilot-instructions.md` as the single source of truth for domain rules, conventions, and pitfalls in each solution.
- Added `CLAUDE.md` to guide Claude to read domain rules, glossary, and README before code generation.
- Updated all solution and project `README.md` files to document project purpose, structure, key files, and LLM context (Copilot/Claude/Cursor).
- Added or revised `docs/ARCHITECTURE.md`, `docs/CONVENTIONS.md`, and `docs/GLOSSARY.md` to clarify dependency graphs, naming, patterns, and terminology.
- For FruitBankHybridApp, added `docs/SCHEMA.md` (Toon format) and expanded the glossary with business/measurement terms and common traps.
- Updated all subfolder READMEs to list key files, conventions, and LLM maintenance notes.
- Ensured all documentation is cross-referenced, up-to-date, and includes explicit instructions for LLMs to keep docs in sync with code and avoid suggesting removal/rollback as a solution.
- Standardized documentation and onboarding for maintainability and LLM/code quality across all solutions.
2026-03-28 22:38:23 +01:00
..
SignalRDatasources Add LLM onboarding docs and standardize project READMEs 2026-03-28 22:38:23 +01:00
README.md Add LLM onboarding docs and standardize project READMEs 2026-03-28 22:38:23 +01:00
SignalRClientToHubTest.cs Refactor serializer options, string fast paths & analysis 2026-01-25 16:40:40 +01:00
SignalRTestHelper.cs Remove MessagePack; unify SignalR serialization model 2025-12-14 01:45:17 +01:00
TestSignalRService2.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00
TestSignalRTags.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00
TestableSignalRClient2.cs Remove MessagePack; unify SignalR serialization model 2025-12-14 01:45:17 +01:00
TestableSignalRHub2.cs Refactor serializer options, string fast paths & analysis 2026-01-25 16:40:40 +01:00

README.md

SignalRs

Full SignalR client→hub→service test infrastructure with testable components that bypass real network connections.

Key Files

  • SignalRClientToHubTest.cs — Abstract round-trip test base. Tests: Post_SingleInt, Post_TwoInts, Post_Bool, Post_String, Post_Guid, Post_Enum, and more.
  • TestableSignalRClient2.csAcSignalRClientBase implementation: direct hub calls, zero network, zero delays.
  • TestableSignalRHub2.csAcWebSignalRHubBase implementation: simulates connection state, user identity, claims. Captures responses.
  • TestSignalRService2.cs — 50+ methods: primitives (23), complex objects (3), collections (9), arrays (6), mixed (4), async (4), Task.FromResult (4), large datasets, property mismatch, DataSource CRUD (7), production bug reproductions.
  • TestSignalRTags.cs — 50+ const int message tags (100-500 range).
  • SignalRTestHelper.cs — CreatePrimitiveParamsMessage, CreateComplexObjectMessage, GetResponseData, AssertSuccessResponse.

Subfolders

Folder Purpose
SignalRDatasources/ DataSource CRUD and collection tests

LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.