microsoft/vscode-python-environments/run-integration-tests
Claude Code and agent skill by microsoft/vscode-python-environments
- vendor
Checking that the SKILL.md file is still in the repository.
Run integration tests to verify that extension components work together correctly. Use this after modifying component interactions or event handling.
Install
npx vskill@latest install microsoft/vscode-python-environments/run-integration-testsSKILL.md
Run integration tests to verify that multiple components (managers, API, settings) work together correctly.
When to Use This Skill
- After modifying how components communicate (events, state sharing)
- After changing the API surface
- After modifying managers or their interactions
- When components seem out of sync (UI shows stale data, events not firing)
Quick Reference
| Action | Command | |
|---|---|---|
| Run all integration tests | npm run compile && npm run compile-tests && npm run integration-test | |
| Run specific test | npm run integration-test -- --grep "manager" | |
| Debug in VS Code | Debug panel → "Integration Tests" → F5 |
How Integration Tests Work
Integration tests run in a real VS Code instance but focus on component interactions:
- Does the API reflect manager state?
- Do events fire when state changes?
- Do different scopes return appropriate data?
They're faster than E2E (which test full workflows) but more thorough than smoke tests.
Workflow
Step 1: Compile and Run
Step 2: Interpret Results
Pass:
Fail: Check error message and see Debugging section.
Debugging Failures
| Error | Cause | Fix | |
|---|---|---|---|
API not available | Extension activation failed | Check Debug Console | |
Event not fired | Event wiring issue | Check event registration | |
State mismatch | Components out of sync | Add logging, check update paths | |
Timeout | Async operation stuck | Check for deadlocks |
For detailed debugging: Debug panel → "Integration Tests" → F5
Adding New Integration Tests
Create files in src/test/integration/ with pattern *.integration.test.ts:
Test Files
| File | Purpose | |
|---|---|---|
src/test/integration/envManagerApi.integration.test.ts | Manager + API tests | |
src/test/integration/index.ts | Test runner entry point | |
src/test/testUtils.ts | Utilities (waitForCondition, TestEventHandler) |
Prerequisites
- CI needs webpack build - Run
npm run compile(webpack) before tests, not justnpm run compile-tests(tsc) - Extension builds - Run
npm run compilebefore tests
Notes
- Integration tests are faster than E2E (30s-2min vs 1-3min)
- Focus on testing component boundaries, not full user workflows
- First run downloads VS Code (~100MB, cached in
.vscode-test/)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 30 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/run-integration-tests/SKILL.md
Popularity
- Repository stars
- 131
- Repository forks
- 49
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 May 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/vscode-python-environments/run-integration-tests)