integration-tests

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

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/voidful/Aixlarity --skill integration-tests-voidful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-tests
Source: https://github.com/voidful/Aixlarity/tree/main/aixlarity-ide/.github/skills/integration-tests
Command: npx skills add https://github.com/voidful/Aixlarity --skill integration-tests-voidful

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running integration tests in the VS Code repository involves two distinct test types (node.js integration tests and extension host tests) with different scripts, flags, and filtering behaviors that are easy to confuse with unit tests. ## Core Features & Use Cases - Script Guidance: Explains scripts/test-integration.sh (macOS/Linux) and scripts/test-integration.bat (Windows) and how they behave with and without filters. - Filtering Options: Documents --run, --runGlob, --grep, and --suite flags, including how they interact and which test category each applies to. - Use Case: You changed Git extension behavior and want to verify it. Run the Git extension host suite with --suite git, optionally narrowing to specific test names with --grep. ## Quick Start Run the integration tests for the Git extension suite using the test-integration script and show me the results.

Frequently Asked Questions about integration-tests

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

FAQPage Schema
How do I run integration tests in the VS Code repository?

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 only specific VS Code extension host test suites?

Use the --suite flag with a suite name like git, typescript, or api-folder. It supports comma-separated values and glob patterns, and skips node.js integration tests entirely.

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

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

Why do VS Code integration tests fail to find my test file?

Tests run against compiled JavaScript output, so the build watch task must have completed first. Also verify the file ends in .integrationTest.ts and that you pass a source path starting with src/ to --run.

Can I filter VS Code integration tests by test name?

Yes, use --grep with a pattern matching describe or test titles. Alone it applies to all tests; combined with --suite it filters only within the selected extension host suites.