unit-tests Skill
Use when running unit tests in the VS Code repo. Covers the runTests tool, scripts/test.sh (macOS/Linux) and scripts/test.bat (Windows), and their supported arguments for filtering, globbing, and debugging tests. Published by microsoft in vscode.
Decision snapshot
Is this a fit?
Testing, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
1 month ago · MIT license
No specific cautions were detected. Review the source and requested permissions before installing.
What is unit-tests Skill?
Use when running unit tests in the VS Code repo. Covers the runTests tool, scripts/test.sh (macOS/Linux) and scripts/test.bat (Windows), and their supported arguments for filtering, globbing, and debugging tests. Published by microsoft in vscode. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Testing use cases
Declared skill metadata
- Source file: .github/skills/unit-tests/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use unit-tests Skill
- Use it for testing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/vscode
- Skill file: .github/skills/unit-tests/SKILL.md
What it does
Use when running unit tests in the VS Code repo. Covers the runTests tool, scripts/test.sh (macOS/Linux) and scripts/test.bat (Windows), and their supported arguments for filtering, globbing, and debugging tests.
Skill instructions
Running Unit Tests Preferred: Use the runTests tool If the runTests tool is available, prefer it over running shell commands. It provides structured output with detailed pass/fail information and supports filtering by file and test name. - Pass absolute paths to test files via the files parameter. - Pass test names via the testNames parameter to filter which tests run. - Set mode="coverage" to collect coverage. Example (conceptual): run tests in src/vs/editor/test/common/model.test.ts with test name filter "should split lines". Fallback: Shell scripts When the runTests tool is not available (e.g. in CLI environments), use the platform-appropriate script from the repo root: - macOS / Linux: ./scripts/test.sh [options] - Windows: .\scripts\test.bat [options] These scripts download Electron if needed and launch the Mocha test runner. Commonly used options Bare file paths - Run tests from specific files Pass source file paths directly as positional arguments. The test runner automatically
Verified compatibility and discovery
Frequently asked questions
What is unit-tests?
unit-tests is a open-source AI agent skill with Copy skill directory. Use when running unit tests in the VS Code repo. Covers the runTests tool, scripts/test.sh (macOS/Linux) and scripts/test.bat (Windows), and their supported arguments for filtering, globbing, and debugging.
Who is unit-tests best for?
unit-tests is best for reusing agent instructions, scripts, and references, testing workflows.
How do I install unit-tests?
Install or run unit-tests using Copy skill directory. Check unit-tests for the latest setup command.
Is unit-tests actively maintained?
unit-tests may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.