CLI-first documentation
ado-sync
Bidirectional sync between local test specs and Azure DevOps Test Cases.
ado-sync supports Gherkin .feature, Markdown .md, C#, Java, Python, JavaScript/TypeScript frameworks such as Jest, Playwright, Cypress, Puppeteer, and TestCafe, plus mobile and desktop test stacks including Detox, Espresso, Flutter, Robot Framework, Go, RSpec, PHPUnit, Rust, CSV, and Excel.
Use it for
- Creating and updating Azure DevOps Test Cases from local specs
- Writing IDs back into source files so tests and work items stay linked
- Publishing results from TRX, JUnit, Playwright, and Cucumber outputs
- Supporting AI-assisted summarization, generation, and MCP workflows
Start here
- New user: CLI reference
- Connecting Azure DevOps: Configuration reference
- Agent orchestration: MCP server
- CI patterns: Workflows
Quick start
npm install -g ado-sync
ado-sync init
export AZURE_DEVOPS_TOKEN=your_pat
ado-sync push --dry-run
ado-sync push
Minimum config:
{
"orgUrl": "https://dev.azure.com/YOUR-ORG",
"project": "YOUR-PROJECT",
"auth": { "type": "pat", "token": "$AZURE_DEVOPS_TOKEN" },
"testPlan": { "id": 12345 },
"local": { "type": "gherkin", "include": "specs/**/*.feature" }
}
Core flow
- Run
ado-sync initto create the config. - Set
AZURE_DEVOPS_TOKENor another supported auth method. - Use
ado-sync push --dry-runto inspect pending work safely. - Use
ado-sync pushorado-sync pullonce the mapping looks correct. - Publish automated test results with
ado-sync publish-test-results.
Common commands
| Command | Purpose |
|---|---|
init | Interactive config wizard |
validate | Check config and Azure connectivity |
push | Local specs to Azure Test Cases |
pull | Azure Test Cases to local files |
status | Show pending changes without modifying anything |
diff | Field-level drift between local and Azure |
generate | Scaffold spec files from ADO User Stories |
publish-test-results | Publish TRX, JUnit, Playwright, or Cucumber results |
Working modes
| Mode | Entry points |
|---|---|
| Day-to-day sync | push, pull, status, diff |
| Planning and generation | generate, story-context, coverage, stale |
| Automation and agents | mcp-server, agent-setup, publish-test-results |
Documentation map
- CLI reference
- Configuration reference
- Capability roadmap
- Agent setup
- MCP server
- Work item links
- Workflows
- Publish test results
- Spec formats
- VS Code extension
- Troubleshooting
- Advanced features
- Framework examples
AI providers
ado-sync supports multiple AI providers for test-step summarization, spec generation, and failure analysis. Provider SDKs are optional, so you only install what you need.
heuristicfor zero-setup summarieslocalfor GGUF models throughnode-llama-cppollamafor local model servingopenai,anthropic,github,bedrock,azureai, andazureinferencefor hosted models
Detailed setup and provider-specific examples are covered in the CLI, advanced, and MCP server docs.