integration-tests
Skill by microsoft
Explains how to run integration tests in the VS Code repository using scripts/test-integration.sh and scripts/test-integration.bat. It covers the filter options and the difference between node.js integration tests and extension host tests.
Install integration-tests
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/vscode /tmp/vscode && mkdir -p ~/.claude/skills && cp -r /tmp/vscode/.github/skills/integration-tests ~/.claude/skills/integration-testsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/vscode /tmp/vscode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vscode/.github/skills/integration-tests ~/.gemini/antigravity-cli/skills/integration-testsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance on running integration tests in the VS Code repository. It covers scripts/test-integration.sh for macOS and Linux and scripts/test-integration.bat for Windows. It explains the two test categories: node.js integration tests in files ending in .integrationTest.ts, and extension host tests embedded in built-in extensions under extensions/.
The skill describes filter options such as --run, --runGlob, --grep and --suite, and how each one changes which tests run. It also notes that Agent Host E2E suites run through a separate script and that tests run against compiled output. It is intended for developers working on the VS Code codebase who need to run or narrow integration tests.
Written from the project's SKILL.md and checked against it.
What it can do
- Run all integration testsWithout filters, runs node.js integration tests followed by all extension host tests.
- Run a single test fileUses --run with a src/ file path to run tests from one file.
- Select test files by globUses --runGlob to match compiled test file paths against a pattern.
- Filter test cases by nameUses --grep to match test titles, alone or combined with --suite.
- Run extension host suitesUses --suite with suite names, comma lists or glob patterns to pick extension tests.
- Run one test partUses --only-node-tests or --only-extension-host-tests to run just one category.
- Run suites in parallelSets INTEGRATION_TEST_PARALLEL to run several extension host suites at once.
- Target build outputUses --build to select the out-build/ directory instead of out/.
What you need
- A checkout of the VS Code repository
- Compiled output from the VS Code - Build watch task or a completed compile
- macOS, Linux or Windows
Try asking
- Run the VS Code integration tests for the git extension
- Run only the node.js integration test for search.integrationTest.ts
- Run the API folder suite and only tests whose names include should open
Good to know
- The --suite glob patterns work on macOS and Linux only.
- Extra options such as --timeout are not forwarded to extension host suites when --suite is used.
- The default run does not include Agent Host E2E suites, which use a separate script.
- scripts/test.sh does not find integration test files unless --runGlob is passed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/integration-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to integration-tests
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
integration-tests: common questions
How do I run only the Git extension tests in VS Code?
Use scripts/test-integration.sh with --suite git. The skill notes that --suite skips node.js integration tests and runs only the matching extension host suites.
What is the difference between unit tests and integration tests in VS Code?
Unit tests are .test.ts files run with scripts/test.sh or the runTests tool. Integration tests are .integrationTest.ts files and extension tests, run with scripts/test-integration.sh.
Do the integration test scripts also run Agent Host E2E tests?
No. Running without filters does not run them. The source says they run with scripts/test-agent-host-e2e.sh, the .bat equivalent, or pnpm run test-agent-host-e2e.
How do I install integration-tests?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is integration-tests free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is integration-tests safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to integration-tests?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
