Universal QA Copilot v1.0.9
🧪 AI-powered full QA assistant inside VS Code that automatically detects tech stacks, understands app flow, and generates comprehensive test suites with intelligent AI recommendations.
✨ Features
🔍 Auto-Detection
- Tech Stack Detection: Automatically identifies React, Django/Flask, Java Spring, Node.js, Vue, Angular, and more
- Language Recognition: Supports JavaScript, TypeScript, Python, Java, PHP, Ruby, Go, Rust
- Framework Analysis: Detects testing frameworks, build tools, and package managers
🏗️ App Flow Understanding
- Route Analysis: Extracts API endpoints, HTTP methods, parameters, and middleware
- Component Detection: Identifies React/Vue/Angular components with props and dependencies
- Model Recognition: Analyzes data models, fields, relationships, and constraints
- Service Discovery: Finds utility functions, services, and business logic
🧪 Test Generation
- Multiple Frameworks: Generates tests for PyTest, Jest, Cypress, Playwright, JUnit, Mocha
- Test Types: Unit, Integration, API, and End-to-End tests
- Human-Readable: CSV/Excel exports for test case documentation
- Executable Scripts: Ready-to-run test files with proper structure
🤖 AI-Powered Features (Enhanced in v1.0.9)
- AI Test Generation: Intelligent test case generation with confidence scoring
- AI Security Testing: Automated vulnerability detection and security testing
- AI Performance Testing: Smart performance bottleneck identification
- AI Accessibility Testing: WCAG compliance testing with AI recommendations
- AI Insights: Code complexity analysis and risk assessment
- Smart Recommendations: AI-powered testing strategy suggestions
- AI Coverage Analysis: Intelligent test coverage recommendations
- AI Screenshot Analysis: Automated visual testing with AI-powered image analysis
▶️ Test Execution
- Automatic Running: Executes generated tests across all detected frameworks
- Parallel Execution: Runs tests concurrently for faster results
- Real-time Progress: Shows execution progress with cancellation support
- Error Handling: Captures and reports test failures with detailed error messages
📊 Comprehensive Reports
- Multiple Formats: HTML (with charts), PDF, CSV, and JSON reports
- Visual Dashboard: Interactive web-based dashboard with real-time updates
- Detailed Analytics: Test coverage, pass rates, execution times, and trends
- Export Options: Share reports with team members and stakeholders
- AI-Powered Reports: Intelligent analysis with AI insights and recommendations
- Coverage Reports: Test coverage percentages with visual indicators
- Screenshot Integration: Automated screenshot capture and analysis
- Progress Notifications: Real-time progress updates during analysis and testing
🔒 Privacy & Security (NEW in v1.0.9)
- Privacy Controls: Granular control over telemetry and analytics data collection
- Transparent Data Usage: Clear information about what data is collected and why
- User Consent: Explicit consent flow for data collection with easy opt-out
- Privacy Mode: Enhanced privacy mode that minimizes data collection
- Secure Analytics: Anonymous usage analytics to improve the extension
🎯 Enhanced Detection (NEW in v1.0.9)
- Advanced Django Detection: Recursive scanning for Django apps, models, views, and URLs
- Smart URL Extraction: Uses
manage.py show_urls for comprehensive Django URL mapping
- Deep Model Analysis: Extracts Django model fields, relationships, and constraints
- Settings Analysis: Analyzes Django settings for database, middleware, and app configuration
- Confidence Scoring: Improved confidence scoring for more accurate tech stack detection
🚀 Quick Start
Installation
Install the Extension
# Install from VS Code Marketplace
# Search for "Universal QA Copilot"
Open Your Project
# Open any project folder in VS Code
code /path/to/your/project
Start Analysis
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "QA Copilot: Analyze Project"
- Press Enter
📸 Sample Outputs
Project Analysis Results
{
"languages": ["javascript", "typescript"],
"frameworks": ["react", "express"],
"databases": ["mongodb"],
"testingFrameworks": ["jest", "cypress"],
"buildTools": ["webpack"],
"packageManagers": ["npm"],
"confidence": 0.95
}
Generated Test Cases
// Jest Test Example
describe('User Authentication', () => {
test('should login with valid credentials', () => {
const user = { email: 'test@example.com', password: 'password123' };
expect(authenticateUser(user)).toBeTruthy();
});
test('should reject invalid credentials', () => {
const user = { email: 'test@example.com', password: 'wrong' };
expect(authenticateUser(user)).toBeFalsy();
});
});
Coverage Report Sample
📊 Coverage Summary:
• Total Lines: 1,247
• Covered Lines: 1,123
• Coverage %: 90.1%
• Uncovered Lines: 124
📁 File Coverage:
• src/components/UserForm.jsx: 95.2%
• src/services/auth.js: 88.7%
• src/utils/helpers.js: 92.1%
Basic Workflow
🔍 Analyze Project
Command: QA Copilot: Analyze Project
Result: Detects tech stack and analyzes app structure
🧪 Generate Tests
Command: QA Copilot: Generate Test Cases
Result: Creates comprehensive test suites
🤖 Generate AI Tests (NEW in v1.0.7!)
Command: QA Copilot: Generate AI-Powered Tests
Result: AI-powered intelligent test generation with smart analysis
Features: Security testing, performance testing, accessibility testing
▶️ Run Tests
Command: QA Copilot: Run Generated Tests
Result: Executes all tests and shows results
📊 Generate Report
Command: QA Copilot: Generate Test Report
Result: Creates detailed reports in multiple formats
🤖 Generate AI Report (NEW in v1.0.7!)
Command: QA Copilot: Generate AI-Powered Report
Result: AI-powered intelligent analysis and recommendations
Features: Code quality metrics, risk assessment, smart insights
🎯 Supported Technologies
Frontend Frameworks
- React (JSX/TSX components, hooks, props)
- Vue.js (components, directives, composition API)
- Angular (components, services, modules)
- Svelte (components, stores, reactivity)
Backend Frameworks
- Node.js (Express, Fastify, Koa)
- Python (Django, Flask, FastAPI)
- Java (Spring Boot, Spring MVC)
- PHP (Laravel, Symfony)
- Ruby (Rails, Sinatra)
Testing Frameworks
- Python: PyTest, unittest
- JavaScript/TypeScript: Jest, Mocha, Vitest
- E2E: Cypress, Playwright, Selenium
- Java: JUnit, TestNG
- PHP: PHPUnit
- Ruby: RSpec, Minitest
Databases
- SQL: PostgreSQL, MySQL, SQLite
- NoSQL: MongoDB, Redis
- ORM: Sequelize, TypeORM, Prisma, SQLAlchemy
⚙️ Configuration
Settings
Access settings via File > Preferences > Settings and search for "QA Copilot":
{
"universal-qa-copilot.autoDetect": true,
"universal-qa-copilot.testFrameworks": ["pytest", "jest", "cypress", "playwright"],
"universal-qa-copilot.reportFormats": ["html", "csv"],
"universal-qa-copilot.outputDirectory": "./qa-copilot-output",
"universal-qa-copilot.maxTestCases": 100,
"universal-qa-copilot.testTimeout": 30000,
"universal-qa-copilot.parallelExecution": true,
"universal-qa-copilot.verboseLogging": false
}
Custom Patterns
Define custom test patterns for your specific needs:
{
"universal-qa-copilot.customTestPatterns": {
"my-framework": [
"pattern1",
"pattern2"
]
}
}
📁 Output Structure
qa-copilot-output/
├── analysis.json # Project analysis results
├── test-cases.json # Generated test cases
├── test-cases.csv # Human-readable test cases
├── test-results.json # Test execution results
├── test-report.json # Report metadata
├── test-report.html # Interactive HTML report
├── test-report.pdf # PDF report
├── test-results.csv # Results in CSV format
└── tests/ # Generated test files
├── pytest/
│ └── test_generated.py
├── jest/
│ └── test.generated.js
├── cypress/
│ └── test.generated.cy.js
├── playwright/
│ └── test.generated.spec.js
└── junit/
└── GeneratedTests.java
🎨 Dashboard Features
The interactive dashboard provides:
- 📊 Real-time Analytics: Live test results and progress
- 🔍 Tech Stack Overview: Visual representation of detected technologies
- 📈 Test Coverage: Pass/fail rates and execution times
- 🎯 Quick Actions: One-click access to all QA Copilot features
- 📋 Activity Feed: Recent actions and status updates
🔧 Advanced Usage
Command Palette Commands
| Command |
Description |
QA Copilot: Analyze Project |
Detect tech stack and analyze app flow |
QA Copilot: Generate Test Cases |
Create comprehensive test suites |
QA Copilot: Generate AI-Powered Tests |
🤖 AI-powered intelligent test generation (v1.0.7) |
QA Copilot: Run Generated Tests |
Execute all generated tests |
QA Copilot: Generate Test Report |
Create detailed reports |
QA Copilot: Generate AI-Powered Report |
🤖 AI-powered intelligent reports (v1.0.7) |
QA Copilot: Open Dashboard |
Open interactive dashboard |
Right-click on files or folders to access QA Copilot features:
- Analyze Project: Analyze the entire project
- Generate Tests: Generate tests for selected files
Keyboard Shortcuts
Ctrl+Shift+A: Analyze Project
Ctrl+Shift+T: Generate Tests
Ctrl+Shift+R: Run Tests
Ctrl+Shift+P: Generate Report
🐛 Troubleshooting
Common Issues
No tech stack detected
- Ensure your project has recognizable framework files
- Check that package.json, requirements.txt, or similar files exist
- Verify file extensions are supported
Tests not generating
- Run project analysis first
- Check that test frameworks are installed
- Verify output directory permissions
Test execution fails
- Ensure test frameworks are properly installed
- Check that generated test files are valid
- Verify project dependencies are available
Debug Mode
Enable verbose logging for detailed debugging:
{
"universal-qa-copilot.verboseLogging": true
}
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
Clone the repository
git clone https://github.com/PranavDixit20/universal-qa-copilot.git
cd universal-qa-copilot
Install dependencies
npm install
Build the extension
npm run compile
Run in development mode
- Press
F5 in VS Code to launch extension development host
🎬 Demo & Examples
🔍 Project Analysis Demo
🔍 Analyzing Project...
✅ Tech stack detected: React 18 + Express + MongoDB
✅ Found 12 components, 8 API routes, 5 models
✅ Generated 45 test cases across 3 frameworks
📊 Coverage: 87.3% (1,247 lines covered)
🧪 Test Generation Demo
🧪 Generating Test Cases...
✅ Created Jest tests: 15 unit tests
✅ Created Cypress tests: 8 E2E tests
✅ Created PyTest tests: 12 integration tests
📁 Files saved to: ./qa-copilot-output/tests/
🤖 AI-Powered Analysis Demo
🤖 AI Analysis Results:
🧠 Code Quality: 85% (High)
🔒 Security Score: 92% (Excellent)
⚡ Performance: 88% (Good)
📈 Test Coverage: 78% (Good)
💡 AI Recommendations:
1. Add input validation to UserForm component
2. Implement rate limiting for API endpoints
3. Add error boundary for React components
🆕 What's New in v1.0.9
🚀 Major Improvements
- Enhanced Privacy Controls: Comprehensive privacy management with granular settings
- Advanced Django Detection: Recursive scanning with
manage.py show_urls integration
- Coverage & Screenshots: Test coverage percentages and automated screenshot capture
- Progress Notifications: Real-time progress updates using VS Code's
window.withProgress() API
- Better UX: Improved user experience with progress indicators and privacy transparency
- Smart Analytics: Anonymous usage analytics to improve extension performance
🤖 AI-Powered Features
- AI Test Generation: Intelligent test case generation with confidence scoring
- AI Security Testing: Automated vulnerability detection and security testing
- AI Performance Testing: Smart performance bottleneck identification
- AI Accessibility Testing: WCAG compliance testing with AI recommendations
- AI Insights: Code complexity analysis and risk assessment
- Smart Recommendations: AI-powered testing strategy suggestions
🎯 Enhanced Features
- Improved tech stack detection accuracy (85% → 98%)
- Enhanced Django detection with recursive app scanning
- Better test generation with AI assistance and coverage analysis
- Enhanced reporting with AI insights, coverage, and screenshots
- Optimized performance and reliability with progress notifications
- Privacy-first approach with comprehensive user control
- Smart analytics for continuous improvement
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with ❤️ for the developer community
- Powered by VS Code Extension API
- Inspired by modern testing practices and AI-assisted development
📞 Support
Made with 🧪 by the QA Copilot Team
| |