Questions tagged [parallel-testing]
189 questions
5
votes
1 answer
Why no good speedup for Astropy parallel testing with pytest-xdist?
I'm running the Astropy tests in parallel using python setup.py test --parallel N option on my Macbook (4 real cores, solid state disk), which uses pytest-xdist to run the ~ 8000 tests in parallel.
I tried different N in the 1 to 10 range, but in…

Christoph
- 2,790
- 2
- 18
- 23
4
votes
1 answer
Parametrization for BeforeEach, AfterEach in JUnit5 without ParameterResolver
How to parameterize @BeforeEach/@AfterEach annotated method in Junit 5? This method than should take arguments from passed stream or list of objects.
Suppose you have a base class BaseSmokeTest, where in @BeforeEach annotated method named prepare()…

Dominik Tuchyna
- 41
- 3
4
votes
2 answers
How do I get the whole error backtrace for rspec?
Currently I am using
parallel tests
rspec
allure 0.8.0
After I run the tests I get the following error:
RSpec::Core::MultipleExceptionError
I need the whole backtrace of the error. Is it some parameter that I need to pass to the command that I use…

The Rookie
- 595
- 9
- 26
4
votes
1 answer
Setting up django parallel test in setting.py
Hello I know that it's possible to run tests in django in parallel via --parallel flag eg. python manage.py test --parallel 10. It really speeds up testing in project I'm working for, what is really nice. But Developers in company shares different…

Alex Baranowski
- 1,014
- 13
- 22
4
votes
4 answers
Cucumber.yml was found, but can't be parsed for Parallel_Tests
When running multiple features with the Ruby gem Parallel_Tests in cucumber using this command:
parallel_cucumber features/
with a cucumber.yml file under my project root>config folder, which looks like:
default: --format html --out report<%=…

Austin L
- 336
- 1
- 17
4
votes
1 answer
surefire parallel threadCount is ignored (JUnit 4)
I've seen quite a few topics dealing with running JUnit tests in parallel with maven surefire, but I haven't seen an answer dealing with this particular issue.
In short: test methods are executing in parallel (good news there), but the prop doesn't…

pappy-o
- 246
- 1
- 8
4
votes
2 answers
Using NUnit v3 alpha how can i get my TestFixtures to run in parallel after noting [Parallelizable(ParallelScope.Fixtures)]
Using NUnit v3 I have added [Parallelizable(ParallelScope.Fixtures)] to 2 separate [TestFixtures].
The positive is they run, the negative is they do not run in parallel, is there a syntax i'm missing that needs to be noted in the code? I've looked…

RenMG
- 71
- 1
- 9
4
votes
1 answer
How can I integrate parallel_test and thinking sphinx in cucumber tests?
I have Rails 4 app with cucumber features. In some tests i have thinking sphinx data such as:
@javascript @sphinx
Feature: Edit a service
Scenario: Editing
Given I exist as an "individual"
And I have few services as individual user
…

ExiRe
- 4,727
- 7
- 47
- 92
4
votes
1 answer
parallel testing with selenium + nose
I am trying to run the functional tests in parallel with multiprocess plugin which gives me random TimeoutException sometimes
my tests are really simple, each of them just goes to a webpage and check if certain element exists.
does anybody know what…

user1732957
- 41
- 2
4
votes
2 answers
Selenium Parallel Browser testing in python
I am working with Selenium for a while and doing some testing and it's been great. Now I have created a test case which I want to run on IE, Firefox, and Google Chrome at the same time. I have run it separately and they run just fine, but I was…

BarbSchael
- 169
- 3
- 13
4
votes
3 answers
Parallelizing Cucumber BDD test on multiple machines using Gems or Jenkins (or both)
I’m running a project using BDD with Cucumber (with page_object gem), Watir and Jenkins. Right now we’re looking the best way to parallelize test to reduce testing time on multiple virtual machines, with different navigators and so on.
I think there…

Pablo Gómez
- 621
- 1
- 8
- 18
3
votes
1 answer
maven-surefire-plugin doesnot work in SpringBoot 2.2.2.RELEASE and above
I have used maven-surefire-plugin in my Maven project to execute the tests in parallel.
everything work great.
When I have upgraded to SpringBoot 2.2.2.RELEASE and above, tests stop running in parallel.
This is how I use the plugin :
…

Ida Amit
- 1,411
- 2
- 13
- 27
3
votes
1 answer
NUnit Running test categories in parallel
I have tests in different classes (Page Object pattern), that may interfere with each other when run together in parallel (they are *not* unit tests). For example, there are classes: AddCustomerFormTests and EditCustomerFormTests, that test adding…

Nawia
- 41
- 3
3
votes
2 answers
How to exclude some features/scenarios from parallel run?
I have a test solution using Specflow, selenium, NUnit running in parallel
added this in AssemblyInfo:
[assembly: Parallelizable(ParallelScope.Fixtures)]
everything ran nicely in parallel, but now I added a feature with a couple of scenarios that…

Dayan54
- 31
- 3
3
votes
1 answer
Camel JUnit-Tests: wrong results with parallel execution
I use camel.version 2.18.1 and spring-boot 1.5.1.RELEASE.
I have some more or less complex Camel routes, where messages from MQ Topics will be consumed, filtered, transformed and finally routed to different MQ Topics.…

Ani
- 91
- 6