Skip to content
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

concurrent test execution support for test.each #8985

Closed
yxliang01 opened this issue Sep 27, 2019 · 6 comments · Fixed by #9326
Closed

concurrent test execution support for test.each #8985

yxliang01 opened this issue Sep 27, 2019 · 6 comments · Fixed by #9326

Comments

@yxliang01
Copy link

🚀 Feature Proposal

It's natural to support something like test.each.concurrent that the test function invoked with different items is executed concurrently.
Such test function should be written with concurrency in mind.

Motivation

Same as the motivation for test.concurrent

Example

test.each.concurrent([1,2,3])('Name', (num)=> {
  // This function is executed concurrently with different `num`!
});

Pitch

Why does this feature belong in the Jest core platform?

It has to be here :)

@SimenB
Copy link
Member

SimenB commented Oct 29, 2019

We should deffo have this
/cc @mattphillips

@Mark1626
Copy link
Contributor

Mark1626 commented Nov 9, 2019

@SimenB I'll give a shot at this

@SimenB
Copy link
Member

SimenB commented Nov 9, 2019

Thank you!

@aortegao
Copy link

Is it solved? I'm interested in it

@Mark1626
Copy link
Contributor

I got caught up with work a bit, will be finishing it of this week

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants