Favicon of backend-tests

backend-tests Skill

AI Agent SkillTypeScriptOpen source

Use when writing unit tests under test/unit-tests/backend/.test.ts that run in Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env merging. Triggers: "backend test", "unit test", "mocha test without vscode". Published by microsoft in vscode-cmake-tools.

What is backend-tests Skill?

Use when writing unit tests under test/unit-tests/backend/.test.ts that run in Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env merging. Triggers: "backend test", "unit test", "mocha test without vscode". Published by microsoft in vscode-cmake-tools. 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.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
80/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Data analysis
  • Design and media
  • Writing
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use backend-tests Skill

  • Use it for testing.
  • Use it for data analysis.
  • Use it for design and media.
  • Use it for writing.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode-cmake-tools
  • Skill file: .github/skills/backend-tests/SKILL.md

What it does

Use when writing unit tests under test/unit-tests/backend/.test.ts that run in Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env merging. Triggers: "backend test", "unit test", "mocha test without vscode".

Skill instructions

Writing Backend Tests Recipe for adding backend (unit) tests that run without VS Code. When to use backend tests Use backend tests for pure logic that has no VS Code UI interaction. They are the fastest feedback loop — no Extension Host, no display server, just Node + Mocha. Good candidates: string manipulation, path logic, parsers, encoding, variable expansion, data-structure helpers, environment merging. Not suitable for: anything that calls vscode.window., vscode.workspace. beyond getConfiguration(), or depends on an active editor. --- File location test/unit-tests/backend/<name.test.ts --- Import strategy — decision tree Module has NO transitive vscode dependency Import directly via the @cmt/ path alias. typescript // encoding.test.ts — encodingUtils has no vscode imports import { isValidUtf8 } from '@cmt/encodingUtils'; Module transitively imports vscode Mirror the pure function logic inline in the test file. Do not import the source module — it will fail because vscode cannot be

Explore related resources

Frequently asked questions

What is backend-tests?

backend-tests is a open-source AI agent skill with Copy skill directory. Use when writing unit tests under test/unit-tests/backend/.test.ts that run in Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env merging.

Who is backend-tests best for?

backend-tests is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows, design and media workflows.

How do I install backend-tests?

Install or run backend-tests using Copy skill directory. Check backend-tests for the latest setup command.

Is backend-tests actively maintained?

backend-tests may need a closer maintenance check before production use.

Share:

Stars
1,679
Forks
530
Last commit
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Similar to backend-tests