mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
08568286ef
Major test suite migration and cleanup completing Issue #103: ## Metrics - Files: 426 → 197 (-229 files, -53.8%) - Lines: 208,253 → 82,698 (-125,555 lines, -60.3%) - Large files (>600 lines): 149 → 25 (-83.2%) - Skipped tests: 7 → 0 (-100%) ## Categories Deleted - Phase 1/2/3 milestone tests (superseded by journey tests) - MCP handler implementation tests (covered by contract tests) - Comprehensive/exhaustive internal tests - Duplicate algorithm tests (Q-learning, SARSA, Actor-Critic) - Internal utility tests (Logger, migration tools) - Mock-based tests with no real integration value ## High-Value Tests Preserved - 7 journey tests (user workflows) - CLI tests (user-facing commands) - E2E tests (end-to-end workflows) - Core infrastructure tests (memory, hooks, privacy) - MCP contract tests (API stability) - Unique integration tests (neural, multi-agent) ## New CI/CD Infrastructure - .github/workflows/optimized-ci.yml (parallel jobs) - scripts/test-dashboard.js (metrics visualization) - scripts/test-ci-optimized.sh (batched execution) - New test scripts: test:journeys, test:contracts, test:fast ## Coverage Thresholds - Global: 80% lines, 75% branches - Critical paths (core/, agents/): 85% coverage 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
952 B
TypeScript
29 lines
952 B
TypeScript
/**
|
|
* Q-Learning Test Registration File
|
|
*
|
|
* Re-exports all Q-learning related tests to ensure they're detected by the verification script.
|
|
* This file serves as an entry point for all learning system tests.
|
|
*/
|
|
|
|
// Re-export unit tests
|
|
export * from './learning/QLearning.test';
|
|
export * from './learning/ExperienceReplayBuffer.test';
|
|
|
|
// Re-export integration tests
|
|
export * from './learning/integration.test';
|
|
|
|
// Re-export convergence validation tests
|
|
export * from './learning/convergence.test';
|
|
|
|
// Re-export performance benchmark tests
|
|
export * from './learning/performance.test';
|
|
|
|
/**
|
|
* Test suite summary:
|
|
* - QLearning.test.ts: Core Q-learning algorithm tests
|
|
* - ExperienceReplayBuffer.test.ts: Experience replay buffer tests
|
|
* - integration.test.ts: End-to-end integration tests
|
|
* - convergence.test.ts: Q-value convergence and 20% improvement validation
|
|
* - performance.test.ts: Performance benchmarks for learning operations
|
|
*/
|