193 questions
0 votes
0 answers
29 views
Pabot.PabotLib | tests open different pages when running in parallel
I am using Robot Framework with Python and the Browser library. I test a web application. For each test, I create a new browser session, either in the test setup or during the test itself: Open ...
-2 votes
1 answer
206 views
Is it possible to run tests in parallel, but first on one project, then on second project?
My goal is to run tests using 2 projects. I can't provide independence between tests on both projects at the same time, so I need to run tests on one project, then on the 2nd. I tried to make npm ...
1 vote
1 answer
333 views
How to retrieve the current number of parallel workers?
In a playwright + typescript project, we use the following config line: workers: process.env.CI ? 1 : undefined, The undefined value allows local users to execute faster with X parallel workers on ...
0 votes
0 answers
69 views
Choosing the next available device for parallel testing with Appium and UIAutomator2
i am currently trying to enhance our Testautomatisation infrastructure by parallelizing our tests. I know how to do that but I am running into the question of device management. Imagine I have 5 ...
0 votes
1 answer
101 views
cucumber hook execution order in parallel is not working
I have written cucumber tests with selenium framework. When my test ran in sequential they all pass, but when I run in parallel they fail because the same user is used for all the tests and the test ...
2 votes
0 answers
158 views
Configure JUnit to run on 5 threads, each using a different datasource
TL;DR How to configure my JUnit test suite to run on 5 threads, each using a different datasource? I'm trying to speed up my SpringBoot/JUnit 5 integration tests, which currently take over 40 minutes. ...
0 votes
0 answers
137 views
Only run some cucumber tests in parallel and run the rest sequentially using gradle tasks
I have some cucumber tests that can be run in in parallel, and some that can't. I want a way to run them all at once. The only way I can think of doing it is to run the parallel tests first and then ...
1 vote
0 answers
227 views
How to run data driven tests parallelly in robot framework?
I have N number of test cases in my csv file and i have added it as a test template as shown below Test Template My test template *** Test Cases *** sample testcase ${field1} ${field2} ...
1 vote
0 answers
293 views
How to run multiple karate feature files in parallel?
I have multiple feature file each containing multiple scenarios, I want to run scenarios in sequential order and features in parallel, so i tried using package com.api.automation; import org.junit....
0 votes
1 answer
145 views
How to use threadlocal for string variables and store different run time values durinng parallel class execution? I am facing multiple issues
ISSUE1: I have one variable 'name' which will have some runtime value and i am using this value in classes accross packages and also i can't return this value in method because i am already returning ...
1 vote
0 answers
609 views
Spring Application context with parallel junit tests
I tried Junit 5.3 parallel execution for Spring Boot (2.7.12) integration tests. junit.jupiter.execution.parallel.enabled = true junit.jupiter.execution.parallel.mode.default = same_thread junit....
0 votes
2 answers
691 views
Laravel parallel test not working, but in normal test worked perfectly
I am wondering how to change the database in Laravel parallel test. I changed the database as below but it didn't work. ParallelTesting::setUpTestCase(function (int $token, TestCase $testCase) { $...
-1 votes
2 answers
5k views
TestNG: How to run classes in serial and Tests in Parallel?
I have a testng.xml like below, <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <suite name="MyTestSuite" parallel="tests" thread-count="2"&...
0 votes
0 answers
204 views
Scala sbt tests with Junit not running in Parallel
I've some integration tests written in Scala sbt which uses Junit5. I want to run the tests within the suite in parallel, however unable to do so. This is how my code looks like: trait ...
0 votes
0 answers
58 views
Parallet destributed testing using xcuitest in ios
I am trying to develop new XCUITest project and my requirement is to do parallel distributed testing. Such that i have 4 iPhones and 6 classes. Each class should run once and if it is executed then it ...