UNPKG

@craftapit/tester

Version:

A focused, LLM-powered testing framework for natural language test scenarios

44 lines (43 loc) 864 B
/** * Result of a test step execution */ export interface StepResult { step: string; success: boolean; error?: string; screenshot?: string; duration: number; } /** * Alternative step result format used by TestExecutor */ export interface ExecutorStepResult { description: string; status: 'passed' | 'failed' | 'skipped'; error?: string; output?: any; } /** * Result of a test execution */ export interface TestResult { scenarioTitle?: string; success?: boolean; stepResults?: StepResult[]; duration?: number; startTime?: Date; endTime?: Date; passed: boolean; steps: ExecutorStepResult[]; error?: string; } /** * Collection of test results */ export interface TestResults { total: number; passed: number; failed: number; results: TestResult[]; duration: number; }