integration-tests

Runs VS Code integration tests via test-integration scripts with filtering options.

10|1|Updated Jul 13, 2026
One-click install
npx skills add https://github.com/KevinHuangIsLearning/shortestpath-ide --skill integration-tests-kevinhuangislearning
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: integration-tests
Source: https://github.com/KevinHuangIsLearning/shortestpath-ide/tree/main/.github/skills/integration-tests
Command: npx skills add https://github.com/KevinHuangIsLearning/shortestpath-ide --skill integration-tests-kevinhuangislearning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running the right subset of VS Code integration tests is confusing because node.js integration tests and extension host tests behave differently, and filter flags like --run, --runGlob, --grep, and --suite interact in non-obvious ways. This Skill explains exactly which tests run for each flag combination on macOS, Linux, and Windows. ## Core Features & Use Cases - Two test categories explained: Distinguishes node.js integration tests (.integrationTest.ts under src/) from extension host tests under extensions/. - Filter flag semantics: Documents --run, --runGlob, --grep, and --suite, including which combinations skip node.js tests or extension host suites. - Use Case: You changed the search service and want to run only its integration test file with a grep filter, without triggering the full extension host suite. ## Quick Start Ask the assistant to run the search integration test file with a grep filter using scripts/test-integration.sh.

Frequently Asked Questions about integration-tests

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

FAQPage Schema
How do I run VS Code integration tests?▼

Run ./scripts/test-integration.sh on macOS/Linux or .\scripts\test-integration.bat on Windows. Without filters, this executes all node.js integration tests followed by all extension host tests.

How do I run a single VS Code integration test file?▼

Pass the source file path with --run, for example ./scripts/test-integration.sh --run src/vs/workbench/services/search/test/browser/search.integrationTest.ts. You can combine it with --grep to filter test cases by name.

What is the difference between unit tests and integration tests in VS Code?▼

Unit tests use .test.ts files and run via scripts/test.sh, while integration tests use .integrationTest.ts files and extension host tests run via scripts/test-integration.sh. The two scripts are not interchangeable.

How do I run only extension host tests for a specific extension?▼

Use --suite with the suite name, such as ./scripts/test-integration.sh --suite git. It supports comma-separated values and glob patterns, and skips node.js integration tests entirely.

Why do VS Code integration tests fail before running?▼

Tests run against compiled JavaScript output, so the VS Code - Build watch task must be running or compilation must have completed first. Missing compiled output is the most common cause of failure.