FruitBankHybridApp/FruitBankHybrid.Shared.Tests
Loretta 45195b9cdf 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
..
TestData Add LLM onboarding docs and standardize project READMEs 2026-03-28 22:38:23 +01: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 LLM onboarding docs and standardize project READMEs 2026-03-28 22:38:23 +01: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

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

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.