ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
30 lines • 1.38 kB
TypeScript
import type { ReviewResult, ReviewCriteria, TestReviewerOptions } from './types.js';
export declare class TestReviewerAI {
private options;
constructor(options?: TestReviewerOptions);
reviewTest(testCode: string, framework: string): Promise<ReviewResult>;
analyzeClarity(testCode: string): ReviewCriteria['clarity'];
analyzeRobustness(testCode: string): ReviewCriteria['robustness'];
analyzeMaintainability(testCode: string): ReviewCriteria['maintainability'];
analyzeSecurity(testCode: string): ReviewCriteria['security'];
calculateOverallScore(criteria: ReviewCriteria): number;
generateFeedback(criteria: ReviewCriteria): string;
autoFix(testCode: string): string[];
shouldEscalateToHuman(testCode: string, overallScore: number): boolean;
private isValidTestCode;
private hasDescriptiveTestName;
private explainsPurpose;
private avoidsBrittleSelectors;
private hasBrittleSelectors;
private handlesAsyncProperly;
private followsConventions;
private hasAppropriateAbstractions;
private hasNoSensitiveData;
private hasNoHardcodedSecrets;
private isComplexTest;
private hasSecurityConcerns;
private hasRepetitiveCode;
private createFailedReview;
}
export type { ReviewResult, ReviewCriteria, TestReviewerOptions } from './types.js';
//# sourceMappingURL=test-reviewer-ai.d.ts.map