microsoft / microsoft/nodejstools

Allow Mocha to be installed Globally

Open
#403 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature test-adapter
Dominant language
C#
Stars
1.8k
Forks
355
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have a Visual Studio solution which contains multiple Node.js projects. I would like to run all tests of all projects using mocha. For that I have to install mocha for every project locally, so that the tests can be found by NTVS. So I'll have mocha installed multiple times on my harddrive. Isn't it possible to have it installed once only?

Thanks,
Natascha

Contributor guide

Open the contributing guide

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

Start by locating NTVS's Mocha test-discovery path for a Visual Studio solution containing multiple Node.js projects, then check how it resolves project-local installations. Done means Mocha can be installed once globally while tests from all projects are still discovered and run.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, node.js
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.