arela
Version:
AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.
42 lines • 1.06 kB
TypeScript
export interface DreddConfiguration {
endpoint: string;
path: string[];
hookfiles?: string[];
reporter?: string[];
output?: string[];
header?: string[];
sorted?: boolean;
user?: string | null;
inlineErrors?: boolean;
details?: boolean;
method?: string[];
only?: string[];
color?: boolean;
loglevel?: string;
timestamp?: boolean;
dry?: boolean;
server?: string;
request?: any;
response?: any;
[key: string]: any;
}
export interface DreddStats {
total: number;
failures: number;
errors: number;
passes: number;
skipped: number;
tests: Array<{
title: string;
status: string;
expected?: any;
actual?: any;
message?: string;
}>;
}
export declare function runDredd(configuration: DreddConfiguration): Promise<{
stats: DreddStats;
error?: Error;
}>;
export declare function getDreddConfig(specPath: string, serverUrl: string, hookfiles?: string[]): DreddConfiguration;
//# sourceMappingURL=dredd-runner.d.ts.map