agentic-qe
Version:
Agentic Quality Engineering Fleet System - AI-driven quality management platform
40 lines • 982 B
TypeScript
/**
* Trace Command
* Traces test execution flow with timing and call stack
*/
export interface TraceOptions {
testFile: string;
includeCallStack?: boolean;
measureTiming?: boolean;
export?: 'json' | 'chrome-devtools';
outputDir?: string;
minDuration?: number;
highlightSlow?: boolean;
}
export interface TraceStep {
name: string;
type: 'test' | 'beforeEach' | 'afterEach' | 'function' | 'async';
startTime: number;
endTime?: number;
duration?: number;
slow?: boolean;
children?: TraceStep[];
stackTrace?: string[];
}
export interface Trace {
testFile: string;
totalDuration: number;
steps: TraceStep[];
callStack?: string[];
}
export interface TraceResult {
success: boolean;
trace: Trace;
exportPath?: string;
error?: string;
}
/**
* Trace test execution flow
*/
export declare function traceExecution(options: TraceOptions): Promise<TraceResult>;
//# sourceMappingURL=trace.d.ts.map