Questions tagged [parallel-testing]

189 questions
2
votes
1 answer

parallel_tests failing tests to run with rspec --only-failures

I'm running parallel_tests gem on my rails project with the output for failing tests going into a file tmp/failing_specs.log. The problem is the output of this file is not in the correct format for use with 'rspec --only-failures'. The parallel_test…
map7
  • 5,096
  • 6
  • 65
  • 128
2
votes
1 answer

JRuby-friendly method for parallel-testing Rails app

I am looking for a system to parallelise a large suite of tests in a Ruby on Rails app (using rspec, cucumber) that works using JRuby. Cucumber is actually not too bad, but the full rSpec suite currently takes nearly 20 minutes to run. The systems I…
Toby Hede
  • 36,755
  • 28
  • 133
  • 162
2
votes
3 answers

How would i go about creating docker environment in CI with lots of services

Suppose i want to move mu current acceptance test CI environment to dockers, so i can take benefit of performance improvements and also quickly setting up multiple clones for slow acceptance tests. I would have a lot of services. The easy ones would…
2
votes
1 answer

Does the parallel_tests gem run your test suites in sequence?

I'm reading through the parallel_tests source but don't understand it yet, so I thought I would jump to the chase and ask my question here. Does the parallel_tests gem run all of the tests in your sweet simultaneously or in sequence? (Is it possible…
1
vote
2 answers

Parallel Testing with MBUnit/Gallio using Data Driven Test Cases

I've been doing a lot of reading up on RemoteWebDriver for Selenium 2 using Selenium Grid. At the moment my tests are generated in the Test() using the [Test] Attribute. I have a TestCriteria class that I fill with information and then use the…
Patrick Magee
  • 2,951
  • 3
  • 33
  • 50
1
vote
1 answer

How to prevent Rails parallel tests and Sidekiq from calling Redis

I have a Rails application that is using Sidekiq for asynchronous jobs. I setup parallel testing to speed up my testing pipeline. This is working great but I have one major problem: Redis is bottlenecking with Sidekiq jobs trying to enqueue work…
1
vote
1 answer

Android Wear and Android app parallel ui testing

I have both Android App which act as receiver for heart rate from Android Watch and app for Wear OS, which sent heart rate to the app. For test without my hardware, i created two emulators and paired them. Manual testing show that apps working just…
AShX
  • 358
  • 3
  • 14
1
vote
1 answer

How to run Cypress tests in parallel using a single machine on Jenkins?

So I have around 45 spec files that I want to execute in parallel on a single machine on Jenkins. If I create a freestyle job on Jenkins and run this command "npx cypress run --record --key abc --parallel" it executes sequentially. Do I need to set…
1
vote
0 answers

Run Flutter Integration Tests in Parallel

I plan to run the flutter integration tests across different iOS/Android Simulators/Emulators in parallel. As per documentation, we can run the flutter integration tests across the device using: flutter test integration_test/foo_test.dart -d…
Abhishek Bedi
  • 5,205
  • 2
  • 36
  • 62
1
vote
1 answer

tun unit tests in parallel and other test sequentially in the same run spring boot kotlin

i am having an issue to understand how can i run all the unit tests in my boot spring application(kotlin) in parallel while the springBootTests and the dataJpaTests will run one after the other(becouse they are failing due to shared context where…
1
vote
1 answer

Is there a simple way to execute cypress tests parallelly without using dashboard?

I'm working on a cypress test execution on Github actions and I need to know whether there is a way to execute the tests in parallel mode without using the cypress dashboard (Open source solution) Tried the solution with 'Sorry Cypress'…
1
vote
0 answers

How to automatically create sqlite test db when executing parallel tests?

When executing tests separately I have added this functions to make sure sqlite db would be created if it's not there: abstract class TestCase extends BaseTestCase { use CreatesApplication, DatabaseMigrations; public function setUp(): void …
mirza
  • 5,685
  • 10
  • 43
  • 73
1
vote
0 answers

Running two Test cases(method) in two same browsers using Parallel testing in TestNG Selenium

I am trying to execute parallel testing in tow test cases(methods) in two same browsers. But when I run, it opens two same browsers but the execution is performed in one browser, means two test methods executed in one browser. BaseClass.Java public…
Raj
  • 11
  • 1
1
vote
0 answers

Running java selenium project in parallel

I am new to parallel testing (I am using java selenium with TestNG as my project framework). when I launch parallel testing using my pom.xml file I can see that browsers opened for me but the logic is happening only in one browser (so I can see that…
1
vote
0 answers

Trying to run my automation project in parallel using java

I built an automation framewoek using maven, java, testng, selenium. As for now I am running my tests sequential and I would like to run them in parallel, however each time I try to run them in parallel there are several browsers that opens (like…
tupac shakur
  • 658
  • 1
  • 12
  • 29