run-smoke-tests

Execute smoke tests in a live VS Code instance to validate extension activation, commands, and APIs.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Claude-Skills-Collection --skill run-smoke-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-smoke-tests
Source: https://github.com/mahmoud20138/Claude-Skills-Collection/tree/main/05-VSCode-Extension-Skills/run-smoke-tests
Command: npx skills add https://github.com/mahmoud20138/Claude-Skills-Collection --skill run-smoke-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your VS Code extension functions correctly within a real VS Code environment by running automated smoke tests, catching integration issues early.

Core Features & Use Cases

  • Real VS Code Environment: Tests run inside an actual VS Code instance, not a mocked one.
  • Extension Activation Verification: Checks if the extension loads and activates without errors.
  • Command and API Testing: Verifies that registered commands and exported APIs work as expected.
  • Use Case: After updating the extension's activation logic or adding new commands, run these tests to confirm that the core features are still operational before committing or deploying.

Quick Start

Run all smoke tests to verify the extension loads and basic functionality works in a real VS Code environment.

Frequently Asked Questions about run-smoke-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run smoke tests for a VS Code extension in a real environment?

To run smoke tests for a VS Code extension, execute automated scenarios within a live VS Code instance to validate activation, command registration, and API availability under real-world conditions.

Why should I use integration testing instead of mocked tests for VS Code extensions?

Integration testing using a live VS Code instance catches activation and API issues early by simulating actual user interactions, whereas mocked tests often miss environment-specific extension failures.

Can I verify VS Code extension activation and command registration automatically?

Yes, automated smoke tests verify VS Code extension activation and command registration by executing scenarios that check if the extension loads and its commands work without errors.

When do I need to run smoke tests for my VS Code extension?

Run smoke tests after updating extension activation logic or adding new commands to confirm core features remain operational in a real VS Code environment before committing or deploying.

What are the limitations of running smoke tests inside a live VS Code instance?

Running smoke tests inside a live VS Code instance validates real-world integration but may execute slower than mocked unit tests due to the overhead of loading the full environment.

Does run-smoke-tests check exported APIs in VS Code extensions?

Yes, run-smoke-tests verifies that exported APIs work as expected by simulating real-world user interactions and testing API availability within the live VS Code environment.