Questions tagged [parallel-testing]
189 questions
20
votes
4 answers
Parallel PHPUnit testing in integration tests
As the time needed for run complete PHPUnit suite raises, our team starts wondering if there is a possibility to run Unit tests in parallel. Recently I read an article about Paraunit, also Sebastian Bergman wrote, he'll add parallelism into PHPUnit…

hennadiy.verkh
- 972
- 2
- 11
- 16
13
votes
2 answers
How to run the same job multiple times in parallel with Jenkins?
I'm testing Jenkins to see if it will fit our build and testing framework. I found that Jenkins and its available plugins fit most of our needs. Except that I can't seem to find help on how to do one particular type of task.
We are creating…

Ash
- 133
- 1
- 1
- 6
12
votes
5 answers
How do I erase an Xcode 10 simulator clone through CLI?
Do they share the same UDID?
How are they implemented under the hood?
The scenario is I have 4 clones running UI tests in parallel. I need a clean simulator for some tests (but want to keep random test order)

Alexandre G
- 1,655
- 20
- 30
9
votes
1 answer
How to run scalatest in parallel with maven surefire plugin?
I'm working on a scala project which use Maven to build and maven-surefire-plugin to run the tests written in scalatest.
The tests are like:
import org.scalatest.ParallelTestExecution
@RunWith(classOf[org.scalatest.junit.JUnitRunner])
class MyTest…

Freewind
- 193,756
- 157
- 432
- 708
8
votes
8 answers
Maven Surefire: Unable to fork parallel test execution
using Maven surefire, I'm unable to fork parallel test execution. That is, each of my test cases hs to run in a serapate JVM, hence the forking. In addition, I want my test cases to run in parallel. the first part is working without problem: I'm…

Gregoire
- 91
- 1
- 3
7
votes
0 answers
Py.Test hangs on timeout when running parallel tests with xdist
I've recently started using pytest to run my automated test suite. Test runs that were completing successfully when run sequentially, are now failing randomly when I use xdist to run the suite in parallel. I have pytest configured as…

Richie Howard
- 71
- 6
7
votes
1 answer
How do you generate html reports when running with parallel_tests?
I'm running a bunch of rspec tests in parallel using the parallel_tests framework. Before I parallelized the tests, I was outputting the results from the tests into an html file like so:
rspec --format html --out tmp/index.html
Now it…

Dasmowenator
- 5,505
- 5
- 36
- 50
7
votes
2 answers
Parallel Test Execution hangs indefinitely for rspec
I'm running my specs through parallel_tests on the capybara-webkit driver. I have the following ruby environment:
ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.4.2]
Running through rvm on a gemset which contains the…

Abraham P
- 15,029
- 13
- 58
- 126
6
votes
1 answer
Parallel testing in rails 6 and rspec
I am trying to make parallel tests using rspec and rails 6.
According to their documentation, it is just required to add PARALLEL_WORKERS=15 where 15 is the number of workers. However, this works for Testcases and not for rspecs.
Have anybody found…

Andrès Mauricio Peña Carmona
- 146
- 1
- 8
6
votes
3 answers
Running parallel tests classes via JUnit 5
My question is about how to run in JUnit 5 test classes in parallel.
For example I have two simple test classes which represent two separated test pipeline and they should to run parallel. However the inner tests in class should run…

natanbig
- 79
- 1
- 1
- 5
6
votes
0 answers
Can MSTest Data Driven Tests Be Run in Parallel?
A similar question was asked several years ago for VisualStudio2010 and never answered here:
How to parallelize a Data-Driven unit test in Visual Studio 2010?
I'm hoping that perhaps this functionality exists now in VS2012.
My situation is just like…

mrfreester
- 1,981
- 2
- 17
- 36
6
votes
1 answer
Maven failsafe plugin doesn't run parallel Test
I have a Maven POM file and when I provide parallel execution options, I dont see any signs of parallel execution in the logs. And XML debugging is driving me nuts. Any thoughts what is wrong here?

SuperMan
- 3,532
- 12
- 45
- 49
5
votes
3 answers
How to run parallel stages in isolated pods for a declarative jenkins pipeline
I'm trying to run some end-to-end tests in parallel and on DIFFERENT kubernetes pods on a declarative jenkins pipeline, jenkins however seems to attempt running the parallel stages on the SAME kubernetes pod. This leads to database deadlocks since…

martinkaburu
- 487
- 6
- 18
5
votes
1 answer
How can I run tests in parallel but get neatly ordered test output?
I'm using sbt and JUnit to run tests for a large Scala project. I'm forking multiple JVMs for tests, and defining how tests should be grouped in the JVMs using testGrouping in Test.
The tests are running in parallel, but their output is interleaved,…

Nick Chammas
- 11,843
- 8
- 56
- 115
5
votes
3 answers
How to merge multiple simplecov directories inside CircleCI when running parallel_test?
I have a rails application that runs parallel_test with rspec inside circleci
Looking around on Internet I added up this to the very beginnging of my spec_helper.rb file:
if ENV['COVERAGE']
require 'simplecov'
# on circleci change the output dir…

fabrizioM
- 46,639
- 15
- 102
- 119