microsoft / microsoft/ts-fix

git Status testing and additional support

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
232
Forks
18
PR merge metrics
No merged PRs in 30d

Description

  • gitStatus needs to be tested, unable to use -w when testing integration > cases because the functionality hasn't been implemented in TestHost. In Andrew's words "git status functionality should be done through the Host, and a mock Host can be injected into the test runs that returns fake results for git operations".
  • gitStatus needs support for when the repository and the project folder are on a different absolute path

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

Start by reading the gitStatus implementation and TestHost, then inspect the integration > cases tests where -w cannot currently be used. Done means git operations can be tested through an injectable mock Host and gitStatus works when the repository and project folder use different absolute paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.