YousefED / YousefED/typescript-json-schema
Split tests so they can be run in parallel?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 332
- PR merge metrics
- No merged PRs in 30d
Description
The tests take a while to run for me: usually just under 2 minutes on my MacBook Pro.
Would anyone object to the tests (that are currently run from one file) being split up into multiple files so that mocha can be run with --parallel to run the different test files in parallel? I suspect they can run faster in parallel (they can use more CPU cores).
See https://mochajs.org/#parallel-tests for details and caveats.
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
Locate the single test file currently used by the mocha command and review the repository's test scripts. Check Mocha's parallel-test caveats against the existing tests, then split the suite into independently runnable files and verify that the parallel command passes without changing coverage or behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100