/** * TestAgent - テスト自動実行・自動修正ループ * * 役割: * - Playwright/Chrome DevTools MCP統合 * - コンソールエラー自動検出 * - エラー0まで自動修正ループ * - テストカバレッジ計測 */ import { BaseAgent } from '../core/BaseAgent.js'; import type { AgentResult, CodeGenResult } from '../types/agent.js'; export declare class TestAgent extends BaseAgent { private readonly COVERAGE_THRESHOLD; private readonly MAX_FIX_ITERATIONS; constructor(); protected run(input: CodeGenResult): Promise>; /** * テストを実行 */ private runTests; /** * ユニットテストを実行 */ private runUnitTests; /** * E2Eテストを実行(Playwright MCP) */ private runE2ETests; /** * ブラウザコンソールエラーをチェック(Chrome DevTools MCP) */ private checkBrowserConsole; /** * カバレッジを計測 */ private measureCoverage; /** * 自動修正を試行 */ private autoFix; } //# sourceMappingURL=TestAgent.d.ts.map