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.

Running tests in parallel

See original GitHub issue

I’m not sure if it’ll work but if I group feature files based on the tags and run the cypress command in background then they should save time to run all the tests

npx cypress-tags run -e TAGS='@group1' &
group1=$!
npx cypress-tags run -e TAGS='@group2' &
group2=$!
npx cypress-tags run -e TAGS='@group3' &
group3=$!

wait $group1; wait $group2; wait $group4

I was wondering if we can have some feature, where we can give some configuration to run tests in parallel. Like number of parallel tasks, or max tests per task. In background, if this plugin can collect all the scenarios, group them as per the given configuration, and run the cypress command in parallel.

Please let me know your view.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
amitguptagwlcommented, Jun 18, 2021

@Francllin I’ve created another framework which works almost in same way. But internally it allows to run tests in parallel. I’ll update on that soon.

0reactions
amitguptagwlcommented, Mar 8, 2022

I believe this is right thread to discuss about cytorus. However, I’ve not tried with github pipeline yet. With free account, I’m not sure if I can test it better. But you can give it a try. Here, is the test-repository if you want to save time to create tests.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parallel Testing: The Essential Guide - BrowserStack
Parallel testing allows teams to perform automated tests against several configurations at the same time to scale downtime and budget ...
Read more >
TestNG Parallel Execution - How to run Selenium tests in ...
Parallel testing or parallel execution, as the name suggests, is a process of running the test case parallelly rather than one after the ......
Read more >
What is Parallel Testing and How Does it Work? - Semaphore CI
Our starting definition may look deceptively simple: we say we're performing parallel testing when two or more tests are run simultaneously.
Read more >
What is Parallel Testing? Definition, Approach, Example
Parallel Testing is a software testing type in which multiple versions or subcomponents of an application are tested with same input on ...
Read more >
A complete guide to parallel testing - HeadSpin
Parallel testing refers to a software technique or process that leverages automation testing capabilities to execute the same tests ...
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