Questions tagged [parallel-testing]

189 questions
0
votes
1 answer

Accessing scope of test during parallel execution on Specflow and Nunit

I implemented a test framework using NUnit, with Parallelism on Child level - ParallelScope.Children without issue. I made a nested class within the textFixture so that each [Test] has its own scope and would not overlap on each other. Now, I have…
0
votes
1 answer

Parallel tests with resource-lock?

Background: Now using java JUnit4, willing to migrate to JUnit5 or TestNG. Current state: Having 100+ Selenium tests. Most of them are repeated via @RunWith(Parameterized.class) in Junit4. (I.e. creating multiple instances of the test class based on…
M_A_B
  • 3
  • 3
0
votes
0 answers

How to run cucumber tests in parallel using Rubymine

I cannot work out how to run tests in parallel in Rubymine. I'm using the parallel_tests gem, which I can get to work from the terminal but cannot work out how to get it working using Rubymines interface. I want to do this so that I can use…
Brayw
  • 125
  • 5
0
votes
1 answer

How can I run in browserstack cucumber java features in parallel?

I am not able to run in parallel feature files (Java -Maven -Intellij) in browserstack in different browsers. I am able to implement parallel testing in my JUnit framework but do not know how to implement in cucumber Java. Could you please help on…
Bill
  • 21
  • 1
0
votes
1 answer

Why TestNG Selenium parallel by method doesn't work?

I have around 13 test classes, and this setting runs classes in parallel just fine:
Prostak
  • 3,565
  • 7
  • 35
  • 46
0
votes
1 answer

How to run specflow test in parallel without sharing a Webdriver?

I have a test solution running specflow and selenium, until now I managed to run the tests in parallel by sharing a single Webdriver for all test scenarios, but now I'm getting some problems with that setup. How do you manage to run your selenium…
Dayan54
  • 31
  • 3
0
votes
2 answers

parallel_tests cucumber feature fails only in CI

I'm working in a legacy ROR application with more test coverage so it will take near 1:30 hr to execute all rspec_cucumber in our semaphore CI. so we have implemented [Parallel_test][1] [1]: https://github.com/grosser/parallel_tests. Gem and many…
Ferdy
  • 666
  • 7
  • 25
0
votes
0 answers

How to run non-parallel in more than one process?

I am using parallel_tests gem and more specifically parallel_rspec. I have 2 sets of tests that can't run in parallel as they interfere with the state of some other tests. Currently I am doing parallel_rspec spec --single 'spec/set_A' I now have…
Rahul
  • 321
  • 2
  • 14
0
votes
0 answers

How can I link between feature cucumber (stepsdefinition) and testng @test

My problem here that I want to run feature cucumber in parallel on multiple browser. So for that I didn't use a feature. I wrote this method to run test in parallel : public WebDriver driver; @Parameters("myBrowser") @BeforeClass public…
0
votes
1 answer

Parallel Execution of Selenium Script on One Physical Machine

I have a hybrid framework based on Selenium WebDriver. It is taking around 2-3 hours to run the test suite I have right now. What is the best way to start running the tests parallel On the same machine (Even if I use Selenium Grid, how many nodes …
0
votes
0 answers

Return 3 webdrivers in the same time using testng selenium and java

I work in an existing project I want to run one feature cucumber on multiple browser in parallel. So for that I have the feature, steps definition and I create a class runner to test JUnit it works but the using testng I have a problem because in…
user6618310
  • 39
  • 1
  • 5
  • 14
0
votes
0 answers

Maven Surefire Plugin, Parallel Tests in Maven 3

We've recently upgraded from Maven 2.2.1 to Maven 3.5.3. We used to run the unit tests for some of our projects/modules using the parallel test functionality in the maven-surefire-plugin. Specifically, we had one module that was configured as…
amaidment
  • 6,942
  • 5
  • 52
  • 88
0
votes
1 answer

Running feature cucumber in parallel

I want to run a cucumber feature in different browsers; So, now I'm able to open the 3 browsers in parallel chrome, ff and ie but they can't continue the other steps in features ! My method is : @Parameters("myBrowser") @BeforeClass …
user6618310
  • 39
  • 1
  • 5
  • 14
0
votes
3 answers

Is it posible to run feature cucumber in parallel in different browser

I'm working in a big project, i want to run eature cucumber in parallel in different browser I have the featuren the step definition ? the webdriverfactory and the shared preferences. I have this method in webfactory and it works and i write the…
user6618310
  • 39
  • 1
  • 5
  • 14
0
votes
1 answer

Running features cucumber in parallel in different browser using selenium testNG

How can i run cucumber features using testNG and selenium or cucumber-JVM i'm new in this but after my researsh i think that cucumber jvm doesn't work in paralell for me i added also the surefire plugin now i try to test with TESTNG my testNg.xml :…