mocha-parallel-tests icon indicating copy to clipboard operation
mocha-parallel-tests copied to clipboard

feat: add --share-envs and --stream-output options

Open saartochner-lumigo opened this issue 5 years ago • 4 comments

saartochner-lumigo avatar Jan 06 '20 10:01 saartochner-lumigo

Probably not strictly related to your changes but more to your use case: environment variables will be shared between the workers and the main process but how're you going to let worker B know about the changes in environment variables in worker A?

Great question! I wrote a beforeEach and afterEach hooks that capture and release the locks for the different services using the environment variables.

saartochner-lumigo avatar Jan 07 '20 08:01 saartochner-lumigo

Typescript is failing because of this: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/41562 :(

saartochner-lumigo avatar Jan 13 '20 13:01 saartochner-lumigo

Also, let's wait until your PR to @types/node gets merged and update the code in this PR.

1999 avatar Jan 18 '20 07:01 1999

Also, let's wait until your PR to @types/node gets merged and update the code in this PR.

Update: My PR is duplicated with: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/41356 so we just wait until this one will be approved 😩

saartochner-lumigo avatar Jan 20 '20 07:01 saartochner-lumigo