Refactor docs: topic folders, TOON, XCUT, protocol sync - Migrated all topic documentation into dedicated folders with canonical `README.md`, `ISSUES.md`, and `TODO.md` per topic (e.g., `LOGGING/`, `SIGNALR/`, `BINARY/`, `TOON/`). - Added comprehensive TOON serializer documentation: design, format, options, attributes, inference, issues, and TODOs. - Introduced `XCUT` folder for cross-cutting issues and TODOs, with canonical entries and topic cross-references. - Updated all references and navigation to use new folder-based doc paths; fixed links and clarified doc structure. - Enhanced AI agent protocol: enforce session skill preloading, `[LOADED_DOCS: ...]` short-name prefix, and mandatory `docs-check` skill for doc/code sync. - Updated `.csproj` to include all `README.md` files for IDE visibility. - Improved and clarified SignalR, grid, and project-level documentation. - Minor code/test tweaks and doc content corrections for consistency. |
||
|---|---|---|
| .. | ||
| TestData | ||
| FruitBankClientTests.cs | ||
| FruitBankHybrid.Shared.Tests.csproj | ||
| GridPartnerBaseTests.cs | ||
| GridPartnerRazorTests.cs | ||
| JsonExtensionTests.cs | ||
| MSTestSettings.cs | ||
| OrderClientTests.cs | ||
| README.md | ||
| SandboxEndpointSimpleTests.cs | ||
| StockTakingSerializerTests.cs | ||
| TestSignalRClientFactory.cs | ||
| ToonTests.cs | ||
README.md
FruitBankHybrid.Shared.Tests
@project { type = "test" own-dep-projects = [ "AyCode.Entities, AyCode.Services, AyCode.Utils (in AyCode.Core repo)", "Mango.Nop.Core, Mango.Nop.Services (in Mango.Nop Libraries repo)" ] }
MSTest integration and serialization tests. Covers SignalR client operations, JSON reference handling, binary serialization, Toon format, and bunit component rendering.
Folder Structure
| Folder | Purpose |
|---|---|
TestData/ |
Test models for Toon serialization |
Key Files
MSTestSettings.cs— Parallel test execution at MethodLevel.FruitBankClientTests.cs— (~667 lines) Full SignalR integration: Partner, Shipping, ShippingItem, ShippingDocument, Customer, Product, Order, Login tests. Localhost-only safety check.OrderClientTests.cs— Order and StockTaking retrieval/manipulation tests.JsonExtensionTests.cs— (~715 lines) JSON $id/$ref reference handling, 5-level hierarchies, circular references, DeepPopulateWithMerge.StockTakingSerializerTests.cs— Binary serialization round-trips, null collection handling, binary format analysis.ToonTests.cs— (~465 lines) Toon format: metadata generation, reference markers, type uniqueness, navigation metadata, property descriptions.SandboxEndpointSimpleTests.cs— Endpoint connectivity and SignalR negotiate tests.GridPartnerBaseTests.cs— Grid component tests (disabled).GridPartnerRazorTests.cs— bunit Blazor rendering tests (disabled).