mcp-server-tester-sse-http-stdio
Version:
MCP Server Tester with SSE support - Test MCP servers using HTTP, SSE, and STDIO transports
28 lines (27 loc) • 1.11 kB
TypeScript
/**
* Central display manager that coordinates test output formatting
*/
import type { TestEvent, DisplayOptions } from './types.js';
import type { ScorerResult } from '../core/types.js';
export declare class DisplayManager {
private formatters;
constructor(options?: DisplayOptions);
/**
* Emit a test event to all active formatters
*/
emit(event: TestEvent): void;
/**
* Convenience methods for common events
*/
suiteStart(testCount: number, modelCount?: number): void;
progress(message: string, model?: string): void;
testStart(name: string, model?: string): void;
testComplete(name: string, passed: boolean, errors: string[], model?: string, prompt?: string, messages?: any[], scorer_results?: ScorerResult[]): void;
suiteComplete(total: number, passed: number, failed: number, duration: number): void;
toolDiscovery(expectedTools: string[], foundTools: string[], passed: boolean): void;
sectionStart(section: 'tools' | 'evals', title: string): void;
/**
* Flush any pending output from all formatters
*/
flush(): void;
}