2017 © Pedro Peláez
 

library phpunit-slicer

image

wizaplace/phpunit-slicer

  • Tuesday, July 17, 2018
  • by mnapoli
  • Repository
  • 3 Watchers
  • 26 Stars
  • 1,485 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 37 % Grown

The README.md

Slice your PHPUnit test suite in chunks to run it in parallel., (*1)

CircleCI, (*2)

Usage

Install phpunit-slicer using Composer:, (*3)

composer require --dev wizaplace/phpunit-slicer

Instead of running your test suite with vendor/bin/phpunit, run phpunit-slicer instead:, (*4)

vendor/bin/phpunit-slicer --slices 1/2

The --slices allows to define how many slices to use and which one to run. For example 1/2 means that the test suite will be split in 2, and only the first slice will be run., (*5)

PHPUnit-slicer is mainly useful for continuous integration: it allows to run a large test suite in parallel accross several jobs. To enable this, simply replace your single PHPUnit job with 2 (or more) jobs:, (*6)

  • vendor/bin/phpunit-slicer --slices 1/2
  • vendor/bin/phpunit-slicer --slices 2/2

License

This project is released under the MIT license., (*7)

The Versions

17/07 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

17/07 2018

0.1.1

0.1.1.0

  Sources   Download

MIT

The Requires

 

13/02 2018

0.1.0

0.1.0.0

  Sources   Download

MIT

The Requires