Jest: concurrent test execution support for test.each

Created on 27 Sep 2019  路  5Comments  路  Source: facebook/jest

馃殌 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 :)

Feature Request Concurrent Help Wanted

Most helpful comment

@SimenB I'll give a shot at this

All 5 comments

We should deffo have this
/cc @mattphillips

@SimenB I'll give a shot at this

Thank you!

Is it solved? I'm interested in it

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianp picture ianp  路  3Comments

StephanBijzitter picture StephanBijzitter  路  3Comments

kgowru picture kgowru  路  3Comments

samzhang111 picture samzhang111  路  3Comments

paularmstrong picture paularmstrong  路  3Comments