@kaizenreport/kensho-schema
v0.1.1
Published
Kensho v1 JSON schema + lightweight validator. Canonical test-result format for the Kensho report and KaizenReport platform.
Downloads
594
Readme
@kaizenreport/kensho-schema
Canonical Kensho v1 test-result format: JSON Schema + TypeScript types + a lightweight, dependency-free validator. Every Kensho adapter targets this contract so the same test correlates across runs and frameworks.
pnpm add @kaizenreport/kensho-schemaimport { validateRun, stableCaseId, computeTotals, SCHEMA_VERSION } from '@kaizenreport/kensho-schema';
stableCaseId('tests/login.spec.ts > logs in', 'tests/login.spec.ts'); // tc_...
validateRun(run); // throws on contract violationExports: validateRun, stableCaseId(fullName, filePath), computeTotals,
emptyRun, SCHEMA_VERSION. The raw schema is available at
@kaizenreport/kensho-schema/schema.json.
Part of Kensho · Apache-2.0.
