What problem does it solve?
This skill streamlines the often complex and time-consuming process of setting up a robust testing environment for VS Code extensions. It automates the configuration of test frameworks, coverage tools, and CI/CD pipelines, allowing developers to focus on writing code rather than infrastructure.
Core Features & Use Cases
- Test Framework Configuration: Set up Mocha or Jest with TypeScript support for unit and integration testing.
- Code Coverage Integration: Configure
c8 or nyc to track and enforce code coverage thresholds.
- CI/CD Pipeline Setup: Generate GitHub Actions workflows for automated testing across different OS and VS Code versions.
- Use Case: Initialize a new VS Code extension project with a complete Mocha-based unit and integration testing setup, including code coverage and a GitHub Actions workflow for continuous testing.
Quick Start
Use the vscode-test-setup skill to generate a new test environment for a VS Code extension project located at './my-extension' using Mocha and c8.