MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / fuzzTest

Function fuzzTest

packages/testkit/src/fuzz.ts:177–182  ·  view source on GitHub ↗
(name: string, options: FuzzRunOptions, body: FuzzBody)

Source from the content-addressed store, hash-verified

175}
176
177export function fuzzTest(name: string, options: FuzzRunOptions, body: FuzzBody): void {
178 const label = options.label ?? name;
179 test(`${name} (${String(options.iterations)} iters, seed ${hexSeed(options.seed)})`, async () => {
180 await runFuzz({ ...options, label }, body);
181 });
182}
183
184export function createFuzzFaultPlan<T extends string>(
185 ctx: FuzzIterationContext,

Callers 3

fuzz.test.tsFile · 0.85

Calls 2

runFuzzFunction · 0.85
hexSeedFunction · 0.70

Tested by

no test coverage detected