@dvvezig/testing
v0.1.0
Published
Zig test kit: in-memory transports, mock agents, headless surface renderer, conformance harness.
Readme
@dvvezig/testing
Testing utilities for Zig implementations.
This package includes an in-memory runtime transport, in-memory channel connector, mock agents, a headless surface renderer, conformance adapter helpers, and small test utilities.
npm install -D @dvvezig/testingimport { TestWorld, mockCard, spawnMockAgent } from "@dvvezig/testing";
const world = new TestWorld();
await world.createRoom("hq");
await spawnMockAgent(world, "hq", "helper", { card: mockCard("Helper", ["help"]) });Use it for protocol-level tests, examples, and implementation conformance checks.
