Overview Version History Q & A Rating & Review
Azure DevOps Copilot CLI Extension
A Visual Studio Code extension that integrates GitHub Copilot CLI into Azure DevOps pipelines for automated integration testing and enhanced software quality assurance.
🚀 Features
AI-Powered Integration Testing : Leverage GitHub Copilot CLI to generate comprehensive integration tests
Multi-Framework Support : Intelligent support for Playwright, RestAssured, SpecFlow, pytest, and Go testify
Smart Application Discovery : Automatically analyzes Node.js, ASP.NET, Java, Python, and Docker applications
Azure DevOps Pipeline Integration : Seamlessly integrate with your existing CI/CD workflows
Quality Gate Automation : Automated quality validation with configurable thresholds
Post-Deployment Validation : Validate deployments on LOCAL/INT/QA environments automatically
Prerequisites
Node.js (v22 or higher)
PowerShell (v7.0 or higher)
GitHub Copilot CLI (npm install -g @github/copilot)
Azure DevOps account with pipeline access
GitHub Copilot subscription
🚀 Quick Start
Install the extension from VS Code marketplace
Install GitHub Copilot CLI :
npm install -g @github/copilot
Authenticate with GitHub :
export GITHUB_TOKEN="your_github_token"
Run integration tests :
Open Command Palette (Ctrl+Shift+P)
Run Azure DevOps Copilot: Run Integration Tests
Select target environment
⚙️ Configuration
Configure through VS Code settings:
{
"azdo-copilot.copilotCliPath": "npx",
"azdo-copilot.githubToken": "your_github_token",
"azdo-copilot.integrationTestTimeout": 300,
"azdo-copilot.qualityGateThreshold": 80,
"azdo-copilot.defaultEnvironment": "LOCAL"
}
🔧 Key Commands
Run Integration Tests : Execute AI-generated integration tests
Setup Pipeline Task : Generate Azure DevOps pipeline configurations
Configure MCP Server : Set up Model Context Protocol integration
Validate Deployment : Perform post-deployment validation
🧪 How It Works
Project Detection : Automatically analyzes your workspace (Node.js, Java, Python, .NET, Go)
Test Generation : Uses GitHub Copilot CLI to create framework-specific tests
Environment Configuration : Loads API URLs from OpenAPI specs or config files
Test Execution : Runs tests with real-time progress tracking
Quality Validation : Provides quality scores and actionable insights
📁 Project Structure
src/
├── extension.ts # Core extension implementation
├── mcp-client.ts # MCP integration
└── utils/
└── exec.ts # Command execution utilities
config/
├── environments.json # Environment configurations
└── example-openapi.yaml # OpenAPI specification template
� Documentation
🚀 Ready to supercharge your Azure DevOps pipelines with AI-powered testing!