AyCode.Blazor/AyCode.Blazor.Components.Tests
Loretta 85dbb853c7 Update ToonTests to serialize type metadata only
Replaced AcToonSerializer.Serialize with SerializeTypeMetadata<FullProcessModel> in ToonTests. The test now serializes only the type metadata for FullProcessModel using the domain description, rather than serializing the actual data instance. Assertions and comments remain unchanged.
2026-03-28 17:25:12 +01:00
..
Grids Update ToonTests to serialize type metadata only 2026-03-28 17:25:12 +01:00
AyCode.Blazor.Components.Tests.csproj Add LINQ Expression JSON serialization & SignalR grid source 2025-12-30 19:29:50 +01:00
BunitTestContext.cs Add MgLazyLoadContent, grid layout refactor, tests 2025-12-21 16:29:36 +01:00
MSTestSettings.cs Add MgLazyLoadContent, grid layout refactor, tests 2025-12-21 16:29:36 +01:00
README.md Update ToonTests to serialize type metadata only 2026-03-28 17:25:12 +01:00

README.md

AyCode.Blazor.Components.Tests

bUnit + MSTest component test project targeting net10.0. Tests Blazor component behavior including grid layout persistence and column rendering.

Key Files

  • MSTestSettings.cs -- Assembly-level config enabling method-level test parallelization.
  • BunitTestContext.cs -- Abstract base classes (BunitTestContext, TestContextWrapper) that wire up bUnit BunitContext creation and disposal to MSTest [TestInitialize]/[TestCleanup] lifecycle.
  • Grids/ -- Grid component integration tests (see Grids/README.md).

Dependencies

Dependency Version Type
bunit 2.4.2 NuGet
MSTest 4.0.2 NuGet
AyCode.Blazor.Components -- ProjectReference
AyCode.Services.Server.Tests -- ProjectReference

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.