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.

Multiple Test parallel

See original GitHub issue

What are you trying to achieve?

I have 25 javascript files (25 tests). I want to run multiple tests at the same time, so I can save time.

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: v1.0.2
  • NodeJS Version: v6.10.0
  • Operating System: MacOS
  • phantom.js
  • Configuration file:
{
    "tests": "./tests/dev/*.js",
    "timeout": 10000,
    "output": "./output",
    "helpers": {
        "WebDriverIO": {
            "url": "http://www.myprivatehost.com",
            "browser": "phantomjs",
            "windowSize": "1600x1200",
            "mobilewindowSize": "1136x640"
        }
    },
    "include": {
        "I": "./custom.js"
    },
    "multiple": {
        "blogtest": {
            "browsers": [{
                "grep": "TEST1",

                "browser": "phantomjs",
                "windowSize": "1600x1200"
            }]
        },
        "mainwebsitetest": {
            "browsers": [{
                "grep": "TEST2",

                "browser": "phantomjs",
                "windowSize": "1600x1200"
            }]
        }
    },

    "bootstrap": false,
    "mocha": {},
    "name": "test_codecept"
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
evtkcommented, Oct 5, 2017

yes I’m also wondering about this option. It seems I can only run parallel test when running them against multiple browsers. But if I only want to use chrome and I want to run all my tests in parallel, it doesn’t seem to work. They are still executed in sequence.

1reaction
yatkicommented, Sep 20, 2017

Is it possible to 5 test file in parallel (Basically open 5 browsers) ? I will have more than 100 tests files and all of them have to be executed. I’d like to run 5 or more test file in parallel to save time. Do we need to specify a grep definition for 100 files?

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Parallel Testing? Definition, Approach, Example
Parallel testing is defined as a software testing type, which checks multiple applications or subcomponents of one application concurrently ...
Read more >
A complete guide to parallel testing - HeadSpin
The blog walks us through the basics of parallel testing, its benefits, implementation, challenges, and the best-in-class parallel testing ...
Read more >
What is Parallel Testing and How Does it Work? - Semaphore CI
When parallel testing is CI/CD's best friend · Monorepos · Static code analysis tests · Testing for multiple environments and operating systems.
Read more >
Parallel Testing: The Essential Guide - BrowserStack
Parallel Testing is a process to leverage automation testing capabilities by allowing the execution of the same tests simultaneously in multiple ...
Read more >
Parallel Testing: The Pre-requisites - Testsigma
Testsigma allows you to run multiple tests in parallel across multiple test environments(different browser/device versions and OS combinations) ...
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