FruitBankHybridApp/FruitBankHybrid.Shared.Tests
Loretta 90419001ab Add structured metadata and update doc references
- Introduce @repo and @project metadata blocks in copilot-instructions.md and README.md for all projects, declaring type, dependencies, and layer.
- Update all documentation links to reference canonical AyCode.Core and AyCode.Blazor repo locations, removing hardcoded paths.
- Move MgGridBase and related doc references to AyCode.Blazor.Components/docs/ to reflect repo reorg.
- Expand project READMEs with purpose, key files, and dependency tables for clearer architecture.
- Update glossary, conventions, and architecture docs to match new doc structure and reference locations.
- Apply minor corrections to terminology and file references for consistency and accuracy.
- Standardize documentation and make project relationships explicit.
2026-03-30 08:54:33 +02:00
..
TestData Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
FruitBankClientTests.cs Refactor, enhance, and improve test coverage 2025-12-08 15:50:57 +01:00
FruitBankHybrid.Shared.Tests.csproj Refactor AcToonSerializer metadata extraction & DTO tables 2026-01-13 08:25:28 +01:00
GridPartnerBaseTests.cs Add bunit & Newtonsoft.Json refs, add (commented) test stubs 2025-12-13 12:31:46 +01:00
GridPartnerRazorTests.cs Add bunit & Newtonsoft.Json refs, add (commented) test stubs 2025-12-13 12:31:46 +01:00
JsonExtensionTests.cs Refactor grid editing, info panel, and toolbar system 2025-12-17 06:21:21 +01:00
MSTestSettings.cs Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
OrderClientTests.cs Improve AcToonSerializer type metadata handling & tests 2026-01-12 08:36:23 +01:00
README.md Add structured metadata and update doc references 2026-03-30 08:54:33 +02:00
SandboxEndpointSimpleTests.cs Update local HTTPS, layout auth, deps, and add SignalR tests 2025-12-11 23:46:20 +01:00
StockTakingSerializerTests.cs Refactor fullscreen grid UI; add serializer diagnostics/tests 2025-12-20 08:40:03 +01:00
ToonTests.cs Update test to serialize type metadata instead of instance 2026-03-28 17:25:51 +01:00

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).