microsoft / microsoft/vscode-test

Support node:test as an alternative to mocha

Open
#331 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
316
Forks
73
Avg merge
1d 6h
Merged PRs (30d)
3

Description

Node has built-in testing that's very similar to Mocha, but also supports mocking:

https://nodejs.org/api/test.html

I tried switching an extensions tests over to this, and although they run, VS Code doesn't recognise them and reports 0 tests ran.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or failing test; start by reading the linked Node test documentation and locating how vscode-test discovers and reports extension tests. Reproduce the case where tests run but VS Code reports zero, then verify that a node:test-based extension test is discovered and counted correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.