extension-testing

Community

Master VS Code extension testing

Authorfabioc-aloha
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide and reusable patterns for effectively testing VS Code extensions, ensuring their reliability and quality.

Core Features & Use Cases

  • Unit Testing: Learn to test pure TypeScript logic using Mocha.
  • Integration Testing: Understand how to test extension activation, commands, and VS Code API interactions with @vscode/test-electron.
  • Mocking VS Code APIs: Discover techniques for isolating your code by mocking VS Code services.
  • Use Case: You've developed a new VS Code extension and need to ensure all its commands function correctly and its core logic is robust before publishing.

Quick Start

Run the tests for your VS Code extension using the command npm test.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: extension-testing
Download link: https://github.com/fabioc-aloha/Extensions/archive/main.zip#extension-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.