io.github.MUSE-CODE-SPACE/test-genie
AI-powered app test automation for iOS, Android, Flutter, React Native, Web
Ask AI about io.github.MUSE-CODE-SPACE/test-genie
Powered by Claude ยท Grounded in docs
I know everything about io.github.MUSE-CODE-SPACE/test-genie. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Test Genie MCP
AI-powered App Test Automation MCP Server
Multi-platform test automation for iOS, Android, Flutter, React Native, and Web applications.
English
Overview
Test Genie MCP is an AI-powered MCP server for automated app testing. It provides a complete test pipeline from scenario generation to test execution, issue detection, fix suggestions, and automated fixes.
Features
Multi-Platform Support
| Platform | Languages | Test Frameworks |
|---|---|---|
| iOS | Swift, Objective-C | XCTest, XCUITest, Instruments |
| Android | Kotlin, Java | Espresso, UI Automator, Android Profiler |
| Flutter | Dart | flutter_test, integration_test, Golden Tests |
| React Native | TypeScript, JavaScript | Jest, Detox, RNTL |
| Web | TypeScript, JavaScript | Playwright, Cypress, Lighthouse |
19 MCP Tools
| Category | Tools |
|---|---|
| Analysis | analyze_app_structure, analyze_code_deep, analyze_performance |
| Scenario | generate_scenarios, create_test_plan |
| Execution | run_scenario_test, run_simulation, run_stress_test |
| Detection | detect_memory_leaks, detect_logic_errors |
| Fixing | suggest_fixes, confirm_fix, apply_fix, rollback_fix |
| Automation | run_full_automation, generate_report, generate_cicd_config |
| Management | get_pending_fixes, get_test_history |
Analysis & Scenario Generation
analyze_app_structure- Analyze codebase structure (screens, components, APIs, state)analyze_code_deep- AST-based code analysis (complexity, hooks, dependencies)analyze_performance- Deep performance analysis (rendering, computation, network, bundle)generate_scenarios- AI-powered test scenario generationcreate_test_plan- Create test plans and schedules
Test Execution
run_scenario_test- Execute individual scenario testsrun_simulation- User behavior simulation (random/pattern-based)run_stress_test- Stress and load testing
Issue Detection
detect_memory_leaks- Memory leak detection (heap analysis, circular references)detect_logic_errors- Logic error detection (race conditions, state inconsistencies)
Fix Suggestions & Application
suggest_fixes- AI-powered fix suggestionsconfirm_fix- User confirmation for fixesapply_fix- Apply confirmed fixesrollback_fix- Rollback applied fixes
Automation & CI/CD
run_full_automation- Run complete pipeline automaticallygenerate_report- Generate detailed reports (Markdown, HTML, JSON)generate_cicd_config- Generate CI/CD configs (GitHub Actions, Jenkins, GitLab CI)
Management
get_pending_fixes- Get list of pending fix suggestionsget_test_history- Get test execution history
Installation
npm install -g test-genie-mcp
Or install from source:
git clone https://github.com/MUSE-CODE-SPACE/test-genie-mcp.git
cd test-genie-mcp
npm install
npm run build
Usage with Claude Desktop
Add to Claude Desktop config (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"test-genie": {
"command": "npx",
"args": ["test-genie-mcp"]
}
}
}
Or use Claude CLI:
claude mcp add test-genie-mcp npx test-genie-mcp
Example Usage
Full Automation
User: "Run automated tests"
Claude will:
1. Analyze your app structure
2. Generate test scenarios
3. Execute tests
4. Detect issues (memory leaks, logic errors)
5. Suggest fixes
6. Wait for your confirmation
7. Apply approved fixes
8. Generate report
Step-by-Step
# Analyze app
analyze_app_structure(projectPath: "/path/to/app")
# Generate scenarios
generate_scenarios(projectPath: "/path/to/app", testTypes: ["e2e", "unit"])
# Detect memory leaks
detect_memory_leaks(projectPath: "/path/to/app")
# Get fix suggestions
suggest_fixes(projectPath: "/path/to/app")
# Confirm and apply fix
confirm_fix(fixId: "xxx", action: "approve")
apply_fix(fixId: "xxx")
Fix Confirmation Workflow
When issues are detected, Test Genie will:
- Suggest Fixes: Generate AI-powered fix suggestions with confidence scores
- Show Diff: Display exactly what will change
- Await Confirmation: Wait for user approval
- Apply Fix: Only apply after explicit approval
- Backup: Automatically create backups before applying
ํ๊ตญ์ด
๊ฐ์
Test Genie MCP๋ AI ๊ธฐ๋ฐ ์ฑ ํ ์คํธ ์๋ํ MCP ์๋ฒ์ ๋๋ค. ์๋๋ฆฌ์ค ์์ฑ๋ถํฐ ํ ์คํธ ์คํ, ๋ฌธ์ ๊ฒ์ถ, ์์ ์ ์ ๋ฐ ์ ์ฉ๊น์ง ์ ์ฒด ํ ์คํธ ํ์ดํ๋ผ์ธ์ ์๋ํํฉ๋๋ค.
๊ธฐ๋ฅ
๋ฉํฐ ํ๋ซํผ ์ง์
| ํ๋ซํผ | ์ธ์ด | ํ ์คํธ ํ๋ ์์ํฌ |
|---|---|---|
| iOS | Swift, Objective-C | XCTest, XCUITest, Instruments |
| Android | Kotlin, Java | Espresso, UI Automator, Android Profiler |
| Flutter | Dart | flutter_test, integration_test, Golden Tests |
| React Native | TypeScript, JavaScript | Jest, Detox, RNTL |
| Web | TypeScript, JavaScript | Playwright, Cypress, Lighthouse |
19๊ฐ MCP ๋๊ตฌ
| ์นดํ ๊ณ ๋ฆฌ | ๋๊ตฌ |
|---|---|
| ๋ถ์ | analyze_app_structure, analyze_code_deep, analyze_performance |
| ์๋๋ฆฌ์ค | generate_scenarios, create_test_plan |
| ์คํ | run_scenario_test, run_simulation, run_stress_test |
| ํ์ง | detect_memory_leaks, detect_logic_errors |
| ์์ | suggest_fixes, confirm_fix, apply_fix, rollback_fix |
| ์๋ํ | run_full_automation, generate_report, generate_cicd_config |
| ๊ด๋ฆฌ | get_pending_fixes, get_test_history |
๋ถ์ & ์๋๋ฆฌ์ค ์์ฑ
analyze_app_structure- ์ฑ ์ฝ๋๋ฒ ์ด์ค ๋ถ์ (ํ๋ฉด, ์ปดํฌ๋ํธ, API, ์ํ๊ด๋ฆฌ)analyze_code_deep- AST ๊ธฐ๋ฐ ์ฝ๋ ๋ถ์ (๋ณต์ก๋, ํ , ์์กด์ฑ)analyze_performance- ์ฑ๋ฅ ์ฌ์ธต ๋ถ์ (๋ ๋๋ง, ์ฐ์ฐ, ๋คํธ์ํฌ, ๋ฒ๋ค)generate_scenarios- AI ๊ธฐ๋ฐ ํ ์คํธ ์๋๋ฆฌ์ค ์๋ ์์ฑcreate_test_plan- ํ ์คํธ ๊ณํ ์๋ฆฝ ๋ฐ ์ค์ผ์ค๋ง
ํ ์คํธ ์คํ
run_scenario_test- ๊ฐ๋ณ ์๋๋ฆฌ์ค ํ ์คํธ ์คํrun_simulation- ์ฌ์ฉ์ ํ๋ ์๋ฎฌ๋ ์ด์ (๋๋ค/ํจํด ๊ธฐ๋ฐ)run_stress_test- ์คํธ๋ ์ค/๋ถํ ํ ์คํธ
์ด์ ๊ฒ์ถ
detect_memory_leaks- ๋ฉ๋ชจ๋ฆฌ ๋ฆญ ๊ฐ์ง (ํ ๋ถ์, ์ํ ์ฐธ์กฐ)detect_logic_errors- ๋ ผ๋ฆฌ์ ์ค๋ฅ ๊ฒ์ถ (๋ ์ด์ค ์ปจ๋์ , ์ํ ๋ถ์ผ์น)
์์ ์ ์ & ์ ์ฉ
suggest_fixes- AI ๊ธฐ๋ฐ ์์ ๋ฐฉ์ ์ ์confirm_fix- ์์ ์ฌํญ ์ฌ์ฉ์ ํ์ธapply_fix- ํ์ธ๋ ์์ ์ฌํญ ์ ์ฉrollback_fix- ์ ์ฉ๋ ์์ ๋กค๋ฐฑ
์๋ํ & CI/CD
run_full_automation- ์ ์ฒด ํ์ดํ๋ผ์ธ ์๋ ์คํgenerate_report- ์์ธ ๋ณด๊ณ ์ ์์ฑ (Markdown, HTML, JSON)generate_cicd_config- CI/CD ์ค์ ์๋ ์์ฑ (GitHub Actions, Jenkins, GitLab CI)
๊ด๋ฆฌ
get_pending_fixes- ๋๊ธฐ ์ค์ธ ์์ ์ ์ ๋ชฉ๋ก ์กฐํget_test_history- ํ ์คํธ ์คํ ์ด๋ ฅ ์กฐํ
์ค์น
npm install -g test-genie-mcp
๋๋ ์์ค์์ ์ค์น:
git clone https://github.com/MUSE-CODE-SPACE/test-genie-mcp.git
cd test-genie-mcp
npm install
npm run build
Claude Desktop์์ ์ฌ์ฉ
Claude Desktop ์ค์ ํ์ผ (~/.config/claude/claude_desktop_config.json)์ ์ถ๊ฐ:
{
"mcpServers": {
"test-genie": {
"command": "npx",
"args": ["test-genie-mcp"]
}
}
}
๋๋ Claude CLI ์ฌ์ฉ:
claude mcp add test-genie-mcp npx test-genie-mcp
์ฌ์ฉ ์์
์ ์ฒด ์๋ํ
User: "์๋ํ ํ
์คํธํด์ค"
Claude๊ฐ ์ํ:
1. ์ฑ ๊ตฌ์กฐ ๋ถ์
2. ํ
์คํธ ์๋๋ฆฌ์ค ์์ฑ
3. ํ
์คํธ ์คํ
4. ๋ฌธ์ ๊ฒ์ถ (๋ฉ๋ชจ๋ฆฌ ๋ฆญ, ๋ก์ง ์ค๋ฅ)
5. ์์ ์ ์
6. ์ฌ์ฉ์ ํ์ธ ๋๊ธฐ
7. ์น์ธ๋ ์์ ์ ์ฉ
8. ๋ณด๊ณ ์ ์์ฑ
์์ ํ์ธ ์ํฌํ๋ก์ฐ
๋ฌธ์ ๊ฐ ๊ฒ์ถ๋๋ฉด Test Genie๊ฐ:
- ์์ ์ ์: ์ ๋ขฐ๋ ์ ์์ ํจ๊ป AI ๊ธฐ๋ฐ ์์ ์ ์ ์์ฑ
- Diff ํ์: ๋ณ๊ฒฝ๋ ๋ด์ฉ ์ ํํ ํ์
- ํ์ธ ๋๊ธฐ: ์ฌ์ฉ์ ์น์ธ ๋๊ธฐ
- ์์ ์ ์ฉ: ๋ช ์์ ์น์ธ ํ์๋ง ์ ์ฉ
- ๋ฐฑ์ : ์ ์ฉ ์ ์๋ ๋ฐฑ์ ์์ฑ
Links
License
MIT
Author
Yoonkyoung Gong
