OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Run tests defined in contract specs
Goal
Execute tests defined in specs
Context
Run via CLI
Source Definition
export const testOperation = defineCommand({
meta: {
key: 'test',
title: 'Test Specs',
description: 'Run tests defined in contract specs',
version: '1.0.0',
stability: 'stable',
tags: ['cli', 'test'],
goal: 'Execute tests defined in specs',
context: 'Run via CLI',
owners: ['@lssm/core'],
},
policy: {
auth: 'anonymous',
},
io: {
input: fromZod(
z.object({
specFile: z
.string()
.describe('Path to the test spec file (or glob pattern)'),
registry: z
.string()
.optional()
.describe('Path to the test registry (optional)'),
json: z.boolean().optional().describe('Output results as JSON'),
})
),
output: fromZod(
z.object({
passed: z.boolean(),
results: z.array(z.any()),
})
),
},
});