UNPKG

vineguard-mcp-server-standalone

Version:

VineGuard MCP Server v2.1 - Intelligent QA Workflow System with advanced test generation for Jest/RTL, Cypress, and Playwright. Features smart project analysis, progressive testing strategies, and comprehensive quality patterns for React/Vue/Angular proje

50 lines 1.42 kB
/** * Enhanced Jest/React Testing Library test generator * Supports unit, integration, and accessibility testing patterns */ export interface JestTestOptions { componentName: string; filePath: string; testType: 'unit' | 'integration' | 'accessibility'; isComponent: boolean; isReact: boolean; hasProps?: boolean; hasState?: boolean; hasContext?: boolean; hasAsync?: boolean; } export declare class JestGenerator { /** * Generate Jest test based on component analysis */ static generateTest(options: JestTestOptions): string; /** * Generate comprehensive unit test for React components */ private static generateUnitComponentTest; /** * Generate integration test for React components */ private static generateIntegrationComponentTest; /** * Generate accessibility test */ private static generateAccessibilityTest; /** * Generate basic component test (fallback) */ private static generateBasicComponentTest; /** * Generate unit test for utility functions */ private static generateUnitFunctionTest; /** * Generate integration test for functions */ private static generateIntegrationFunctionTest; /** * Generate basic function test (fallback) */ private static generateBasicFunctionTest; } //# sourceMappingURL=jest-generator.d.ts.map