Download the PHP package shvetsgroup/parallelrunner without Composer

On this page you can find all versions of the php package shvetsgroup/parallelrunner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package parallelrunner

Behat Parallel Runner

Installation

This extension requires:

Through Composer

  1. Set dependencies in your composer.json:

  2. Install/update your vendors:

Configuration

As a bare minimum requirement, activate extension in your behat.yml:

Separate environments for test processes

In certain cases, it's useful to run testing processes in separate environments (e.g. if test results of one test could break other test's data). For this purpose, you should define behat profiles in your configuration file and pass their names to "profile" parameter of the extension like this:

Now, let's say you've run the test with 4 parallel processes. The first process will be launched with "environment1" profile, second with "environment2", and the rest with the default profile (or profile, which was passed in --config option).

Running tests in parallel by default

If you want all of your tests to run in parallel, just specify default number of parallel processes in your configuration file. Note: this number can be overridden by --parallel option.

Usage

Use "--parallel" or "-l" parameter to specify number of concurrent test processes. For example:

Troubleshooting

  1. If you're using Selenium, make sure it's launched in Hub mode to get all the benefits of parallelism (http://docs.seleniumhq.org/docs/07_selenium_grid.jsp).

  2. This extension does not work with features which have closures as definitions (you'll get "Serialization of 'Closure' is not allowed" errors most likely).

All versions of parallelrunner with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.6
ext-pcntl Version *
behat/behat Version >3.0
symfony/process Version >=2.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shvetsgroup/parallelrunner contains the following files

Loading the files please wait ....