-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
are there any feature to support parallel run at scenario level? #53
Comments
Scenarios end up being Jest tests, and Jest already runs tests in parallel by default unless |
@bencompton let me specific what I am asking : is test.concurrent is supported in jest-cucumber ? |
Okay, I see what you're asking now. I have actually never used
|
It was a quick change, so I went ahead and implemented |
ok, Fantastic , so quick , appreciate . |
Hi I would love any documentation to explain how to use test.concurrent in the jest-cucumber context. |
Hey, Heey) One year passed) Is there any progress with this? |
This is working as expected as far as I know, and ends up running your scenarios with Jest's Since It's probably worth adding this info to the docs at this point and then closing this issue. |
Hello there and thanks for fast response. As far as I know jest runs only suites in parrallel, and with that said there is another fact. Only files are considered as suites by Jest. By writing "describe" you cannot achieve the same result, as with seperate files, it just doesn't work and Jest team still did not fix their documentation about it. So it is almost untrue for this project that tests run in parrallel. Except you made an extraordinary tweak iside your code to make jest think, that blocks of code are suites. But I'm browsing the source and can't find it. What do you think about that? |
Outside of I would be curious if there is something in the Jest API outside of |
'each feature file is as a seperate test suite'. This is definitely the thing that I'm trying to implement. |
That may or may not be possible, but one easy solution would be to have a flag in |
@bencompton - raised this PR #147 to implement a flag for concurrent execution |
Are there any feature to support parallel run at scenario level?
Currently cucumberjs has the support to run parallel <NUMBER_OF_SLAVES>
this will run parallel at scenario level.
If there are no feature available for jest-cucumber as of now, is there any plan in near future to add this one ? Appreciate your response
The text was updated successfully, but these errors were encountered: