WarUI

Test Harness Utilities and Seeded Fixtures

GRID-A30-F12P0beyond-baselinePlanned

Helpers to mount grids in tests, generate deterministic seeded data, mock server data sources and control timers. These make grid tests fast, reproducible and concise.

Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A fixture generator UI showing generated rows and the code that reproduces them.

Expected behavior

The same seed always yields identical rows. Changing the latency is visible in the loading overlay. Error injection triggers the grid's error state.

Planned API surface

mountGridcreateFixture(seed,count,schema)mockDatasourceuseFakeSchedulercleanupGrids

Acceptance criteria

  • Fixtures are deterministic across platforms for a given seed (pending)
  • mountGrid auto-cleans after each test when the adapter supports it (pending)
  • The mock datasource honours the server-side request contract (pending)
  • Utilities ship as a separate test package that is not included in the main bundle (pending)