mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
5a2883a4a0
Agentic Quality Engineering Fleet - AI-driven quality management platform Features: - 16 specialized QE agents for comprehensive testing - AI-powered test generation with 95% coverage targets - O(log n) sublinear algorithms for massive scale - Parallel test execution with intelligent orchestration - Real-time coverage analysis and gap detection - Smart quality gates with ML-driven decisions - Security scanning (SAST, DAST, dependency analysis) - Performance testing with load orchestration - Flaky test detection with automatic stabilization - API contract validation with breaking change detection - Test data generation (10,000+ records/sec) - Production intelligence (convert incidents to tests) - Chaos engineering for resilience testing - MCP integration with Claude Code - Multi-framework support (Jest, Mocha, Cypress, Playwright) Architecture: - TypeScript implementation - MCP (Model Context Protocol) integration - Claude Code agent orchestration - Event-driven agent coordination - Distributed fleet management - Cross-session memory persistence Documentation: - Complete API documentation (TypeDoc) - User guides (Getting Started, MCP Integration, Test Generation, etc.) - Architecture deep-dive - CLI reference - Contributing guidelines - MIT License Tech Stack: - TypeScript 5.3+ - Node.js 18+ - @anthropic-ai/sdk ^0.64.0 - @modelcontextprotocol/sdk ^1.18.2 - Jest for testing - Winston for logging - SQLite for persistence Project Structure: - src/ - Source code (agents, core, MCP, CLI) - tests/ - Comprehensive test suite - docs/ - Complete documentation - .claude/ - Agent definitions and commands - config/ - Configuration files 🤖 Generated with Claude Code https://claude.com/claude-code Co-Authored-By: Claude <noreply@anthropic.com>
81 lines
2.0 KiB
JavaScript
Executable File
81 lines
2.0 KiB
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
/**
|
|
* Fleet Initialization Example
|
|
* Demonstrates how to initialize and configure an AQE Fleet
|
|
*/
|
|
|
|
const { FleetManager } = require('../dist/core/FleetManager');
|
|
const { Logger } = require('../dist/utils/Logger');
|
|
|
|
async function initializeFleet() {
|
|
const logger = Logger.getInstance();
|
|
|
|
try {
|
|
console.log('🚀 Initializing Agentic QE Fleet...\n');
|
|
|
|
// Basic fleet configuration
|
|
const config = {
|
|
fleet: {
|
|
id: 'demo-fleet',
|
|
name: 'Demo Quality Engineering Fleet',
|
|
maxAgents: 5
|
|
},
|
|
agents: [
|
|
{
|
|
type: 'test-executor',
|
|
count: 2,
|
|
config: {
|
|
frameworks: ['jest', 'cypress'],
|
|
maxParallelTests: 2
|
|
}
|
|
},
|
|
{
|
|
type: 'quality-analyzer',
|
|
count: 1,
|
|
config: {
|
|
tools: ['eslint', 'sonarqube'],
|
|
thresholds: {
|
|
coverage: 80,
|
|
complexity: 10
|
|
}
|
|
}
|
|
}
|
|
],
|
|
database: {
|
|
type: 'sqlite',
|
|
path: './data/demo-fleet.db'
|
|
}
|
|
};
|
|
|
|
console.log('📋 Fleet Configuration:');
|
|
console.log(` - Fleet ID: ${config.fleet.id}`);
|
|
console.log(` - Max Agents: ${config.fleet.maxAgents}`);
|
|
console.log(` - Agent Types: ${config.agents.map(a => a.type).join(', ')}`);
|
|
console.log(` - Database: ${config.database.type}\n`);
|
|
|
|
// Create fleet manager
|
|
const fleetManager = new FleetManager(config);
|
|
|
|
console.log('🔧 Initializing fleet manager...');
|
|
await fleetManager.initialize();
|
|
|
|
console.log('✅ Fleet initialized successfully!');
|
|
console.log('📊 Fleet Status:', fleetManager.getStatus());
|
|
|
|
// Clean shutdown
|
|
await fleetManager.stop();
|
|
console.log('🛑 Demo completed successfully');
|
|
|
|
} catch (error) {
|
|
console.error('❌ Fleet initialization failed:', error.message);
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
// Run if called directly
|
|
if (require.main === module) {
|
|
initializeFleet();
|
|
}
|
|
|
|
module.exports = { initializeFleet }; |