question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parallel execution of multiple test suites in multiple instances of same browser

See original GitHub issue

What are you trying to achieve?

I’m considering CodeceptJS to use in one of our projects. I’m expecting to have a big number of automated tests there. In a similar project we had around 400, distributed over multiple test suites using the Robot Framework. Executing these tests one after another it takes more than an hour. But in Robot Framework, you can execute test suites in parallel using the pabot runner. Here I found the multiple-execution feature, but as I understand it, it can be used to execute tests in different browsers. I would like to start multiple instances of the same browser. Each instance is then executing one test suite. Can this be done, or do I have to take care of this myself by starting CodeceptJS multiple times with different test suites assigned to be executed?

What do you get instead?

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version:
  • NodeJS Version:
  • Operating System:
  • Protractor || WebDriverIO || Nightmare version (if related)
  • Configuration file:
# paste suite config here

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mdavid626commented, Jun 13, 2018
1reaction
reubenmillercommented, Feb 12, 2018

You can use the multi configuration for the same browser, you just have to specify which browsers you want to run with the configuration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parallel Test Execution in Selenium : Tutorial | BrowserStack
In parallel testing, we test different modules or applications on multiple browsers in parallel rather than one by one. The parallel test ......
Read more >
Run multiple tests in one class in parallel in multiple instances ...
The class is run once fore each different browser. Each method has its own independent driver, making sure your test can run concurrently....
Read more >
Parallel Execution in Selenium: Session Handling & TestNG ...
Test cases in same instance will execute parallel but two methods of two different instances will run in different thread. The attribute thread- ......
Read more >
Parallel execution of multiple test suites in multiple instances ...
I would like to start multiple instances of the same browser. Each instance is then executing one test suite. Can this be done,...
Read more >
Configure parallel execution of tests using TestNG selenium
In testing, it is always important to test application in different browsers. We can perform automation on multiple browsers using selenium and testng....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found