microsoft/vscode-python-environments/run-e2e-tests
Claude Code and agent skill by microsoft/vscode-python-environments
- vendor
Checking that the SKILL.md file is still in the repository.
Run E2E tests to verify complete user workflows like environment discovery, creation, and selection. Use this before releases or after major changes.
Install
npx vskill@latest install microsoft/vscode-python-environments/run-e2e-testsSKILL.md
Run E2E (end-to-end) tests to verify complete user workflows work correctly.
When to Use This Skill
- Before submitting a PR with significant changes
- After modifying environment discovery, creation, or selection logic
- Before a release to validate full workflows
- When user reports a workflow is broken
Note: Run smoke tests first. If smoke tests fail, E2E tests will also fail.
Quick Reference
| Action | Command | |
|---|---|---|
| Run all E2E tests | npm run compile && npm run compile-tests && npm run e2e-test | |
| Run specific test | npm run e2e-test -- --grep "discovers" | |
| Debug in VS Code | Debug panel → "E2E Tests" → F5 |
How E2E Tests Work
Unlike unit tests (mocked) and smoke tests (quick checks), E2E tests:
- Launch a real VS Code instance with the extension
- Exercise complete user workflows via the real API
- Verify end-to-end behavior (discovery → selection → execution)
They take longer (1-3 minutes) but catch integration issues.
Workflow
Step 1: Compile and Run
Step 2: Interpret Results
Pass:
Fail: Check error message and see Debugging section.
Debugging Failures
| Error | Cause | Fix | |
|---|---|---|---|
No environments discovered | Python not installed | Install Python, verify it's on PATH | |
Extension not found | Build failed | Run npm run compile | |
API not available | Activation error | Debug with F5, check Debug Console | |
Timeout exceeded | Slow operation or hang | Increase timeout or check for blocking code |
For detailed debugging: Debug panel → "E2E Tests" → F5
Prerequisites
E2E tests have system requirements:
- Python installed - At least one Python interpreter must be discoverable
- Extension builds - Run
npm run compilebefore tests - CI needs webpack build - Run
npm run compile(webpack) before tests, not justnpm run compile-tests(tsc)
Adding New E2E Tests
Create files in src/test/e2e/ with pattern *.e2e.test.ts:
Test Files
| File | Purpose | |
|---|---|---|
src/test/e2e/environmentDiscovery.e2e.test.ts | Discovery workflow tests | |
src/test/e2e/index.ts | Test runner entry point | |
src/test/testUtils.ts | Utilities (waitForCondition, etc.) |
Notes
- E2E tests are slower than smoke tests (expect 1-3 minutes)
- They may create/modify files - cleanup happens in
suiteTeardown - First run downloads VS Code (~100MB, cached in
.vscode-test/) - For more details on E2E tests and how they compare to other test types, refer to the project's testing documentation.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 16 Jul 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/run-e2e-tests/SKILL.md
Popularity
- Repository stars
- 132
- Repository forks
- 52
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 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-e2e-tests)