FruitBankHybridApp/FruitBankHybrid.Shared.Tests
Loretta 973c8030d2 Refactor EKÁER: support multi-doc declarations
Refactored EKÁER declaration logic to allow one EkaerHistory to reference multiple source documents via a new EkaerHistoryMapping junction table. Removed ForeignKey from EkaerHistory and updated all usages to use the Mappings collection. Updated service, controller, SignalR, and client interfaces to operate by EkaerHistoryId. Adjusted grid UI to display all mapped source IDs. Added EkaerHistoryMapping entity and updated documentation, constants, and ToonDescription attributes accordingly.
2026-06-16 21:45:44 +02:00
..
Ekaer EKÁER: unify consignment mapping & obligation logic 2026-06-15 11:53:05 +02:00
TestData Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
FruitBankClientTests.cs Add PartnerDepot grid, EKÁER menu, and test refactor 2026-06-09 14:51:23 +02:00
FruitBankEkaerTests.cs Refactor EKÁER: support multi-doc declarations 2026-06-16 21:45:44 +02:00
FruitBankHybrid.Shared.Tests.csproj Refactor AcToonSerializer metadata extraction & DTO tables 2026-01-13 08:25:28 +01:00
FruitBankPartnerTests.cs Add PartnerDepot grid, EKÁER menu, and test refactor 2026-06-09 14:51:23 +02: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 [LOADED_DOCS: .github\copilot-instructions.md, C:\Users\Fullepi\copilot-instructions.md] 2026-04-22 22:45:32 +02:00
MSTestSettings.cs Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
OrderClientTests.cs Add FruitBank EKÁER mapping layer and validation docs 2026-06-02 15:45:46 +02:00
README.md Add structured metadata and update doc references 2026-03-30 08:54:33 +02:00
SandboxEndpointSimpleTests.cs Add CargoPartner management UI and API integration 2026-05-28 19:48:18 +02:00
SignalRTagsTests.cs PartnerDepot API, SignalRTags fixes, and test for duplicates 2026-06-07 07:20:07 +02:00
StockTakingSerializerTests.cs Refactor fullscreen grid UI; add serializer diagnostics/tests 2025-12-20 08:40:03 +01:00
TestSignalRClientFactory.cs Framework-first doctrine, DI logger factory, config refactor 2026-04-23 16:11:22 +02:00
ToonTests.cs Refactor PreOrder and CargoTruck models, add ICargoTruck 2026-05-30 16:26:59 +02: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).