/** * Agentic QE v3 - Test Generation Domain Plugin * Integrates the test generation domain into the kernel */ import { DomainName, DomainEvent } from '../../shared/types'; import { EventBus, MemoryBackend, AgentCoordinator } from '../../kernel/interfaces'; import { BaseDomainPlugin } from '../domain-interface'; import { TestGenerationAPI } from './interfaces'; import { ITestGenerationCoordinator, CoordinatorConfig } from './coordinator'; import { ITestGenerationService, TestGeneratorConfig } from './services/test-generator'; import { IPatternMatchingService, PatternMatcherConfig } from './services/pattern-matcher'; /** * Plugin configuration options */ export interface TestGenerationPluginConfig { coordinator?: Partial; testGenerator?: Partial; patternMatcher?: Partial; } /** * Extended API with internal access */ export interface TestGenerationExtendedAPI extends TestGenerationAPI { /** Get the internal coordinator */ getCoordinator(): ITestGenerationCoordinator; /** Get the test generator service */ getTestGenerator(): ITestGenerationService; /** Get the pattern matcher service */ getPatternMatcher(): IPatternMatchingService; } /** * Test Generation Domain Plugin * Provides AI-powered test generation capabilities */ export declare class TestGenerationPlugin extends BaseDomainPlugin { private readonly agentCoordinator; private coordinator; private testGenerator; private patternMatcher; private readonly pluginConfig; constructor(eventBus: EventBus, memory: MemoryBackend, agentCoordinator: AgentCoordinator, config?: TestGenerationPluginConfig); get name(): DomainName; get version(): string; get dependencies(): DomainName[]; /** * Get the domain's public API */ getAPI(): T; protected onInitialize(): Promise; protected onDispose(): Promise; protected subscribeToEvents(): void; protected onEvent(event: DomainEvent): Promise; private generateTests; private generateTDDTests; private generatePropertyTests; private generateTestData; private learnPatterns; private handleCoverageGap; private handleImpactAnalysis; private handlePatternConsolidation; private ensureInitialized; private handleError; private trackSuccessfulGeneration; private trackFailedGeneration; } /** * Factory function to create a TestGenerationPlugin */ export declare function createTestGenerationPlugin(eventBus: EventBus, memory: MemoryBackend, agentCoordinator: AgentCoordinator, config?: TestGenerationPluginConfig): TestGenerationPlugin; //# sourceMappingURL=plugin.d.ts.map