mocha icon indicating copy to clipboard operation
mocha copied to clipboard

Option to run async tests in pararell on a single process

Open kuba-orlik opened this issue 5 years ago • 1 comments

Is your feature request related to a problem or a nice-to-have?? Please describe.

Running tests in parallel with mocha adds the overhead of using and spawning separate workers, which makes it slower than it has to be in test suites based on a lot of I/O and async behavior.

Describe the solution you'd like Option to run all the tests at once in a single worker. Think of a Promise.all for all the its

Describe alternatives you've considered Not sure how to achieve that effect in any other way

kuba-orlik avatar Dec 20 '20 20:12 kuba-orlik

#4588 I made an issue similar to this but with detailed plans @kuba-orlik

nopeless avatar Feb 25 '21 19:02 nopeless

Same as https://github.com/mochajs/mocha/issues/4588#issuecomment-1870704969, alas.

JoshuaKGoldberg avatar Dec 28 '23 00:12 JoshuaKGoldberg