microsoft / microsoft/vscode-test
Unify index.ts files
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 316
- Forks
- 73
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 3
Description
Your test suite has 2 identical index.ts files, when you have 10 test suites this gets a bit old. Can you provide a way to unify the index.ts files so I only need one?
- make it so that runTests can pass another parameter to the index.ts run function?
- make it so I can customize the testsRoot path passed to the run function?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the sample/test directory and compare the two identical index.ts files. Trace how runTests invokes the index.ts run function, focusing on passing an additional parameter and customizing testsRoot. Done means multiple test suites can share one index.ts without duplicating its contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100