question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

concurrent test execution support for test.each

See original GitHub issue

🚀 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 😃

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Mark1626commented, Nov 9, 2019

@SimenB I’ll give a shot at this

1reaction
Mark1626commented, Dec 17, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Value of Concurrency in Tests - Manning
To control how many tests run at a time, you can use the --maxConcurrencyOption and specify how many tests Jest can run simultaneously....
Read more >
Concurrent Test Execution in Spring 5 - Baeldung
The problem was concurrent test execution was not fully supported by the Spring TestContext Framework prior to Spring 5.
Read more >
Parallel tests with TestNG, each test case executed only once
The approach is same as in Parallel tests with NUnit, each test case executed only once, here translated to Java TestNG. It is...
Read more >
How To Perform Parallel Test Execution In TestNG With ...
In this blog, we will see how to perform parallel test execution in TestNG on multiple browsers for Selenium automation testing.
Read more >
Speed Up Test Execution | Advanced Guides - TestCafe
With concurrency enabled, TestCafe runs tests in parallel, which may decrease execution time of your test suite, but requires more resources from the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found