-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When I have a third-party testing tool that is not allowed to run in parallel I am unable to use it in the integration with jest, besides running every single test in band. The concrete thrid-party tool is cypress, it can't be run in parallel.
In my setup I use jest, jest-runner-eslint, jest-runner-stylelint (jest-runner-tsc is planned) and I would like to add something like jest-runner-cypress. As I can not share a lock between two or more processes (without using redis or something similar) I am unable to build / extend such a runner to run the processes in band. As far as I can see there are two possible solutions to this problem:
-
User Land
Allow a project to be configured asrunInBand
, reverting the decision already made by @cpojer -
Runner Land
Let the runner expose a config that sets it asrunInBand
only
This relates to #3215 but I wanted to describe my use case a bit more in detail as well as the different solutions that would be possible for my problem, I hope this was okay.
Thank you for taking the time to read through this 👍 If you make a decision I would be happy to provide a PR (or at least to try to do so)