2017 © Pedro Peláez
 

library diversitest

Run tests against varying dependencies versions

image

ob-ivan/diversitest

Run tests against varying dependencies versions

  • Saturday, February 24, 2018
  • by ob-ivan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 64 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 10 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

DiversiTest

Run your tests on a spectre of dependencies' versions., (*1)

Installation

Add it as a composer dependency:, (*2)

composer require ob-ivan/diversitest

Configuration

In your project root create a file named diversitest.yaml like follows:, (*3)

package_manager: 'composer require $package $version'
test_runner: 'vendor/bin/phpunit'
packages:
    dependency_name_1:
        - ^1.2
        - ~2.0.3
    dependency_name_2:
        - ^3.3
        - ^4.0

In the package_manager line enter the command for installing packages with designated versions. In the test_runner line enter the command for running your test suite., (*4)

Under the packages line list all packages whose versions you want to vary. List the versions as a simple array., (*5)

Running

After you've installed diversitest and provided a config file, run it with this command:, (*6)

vendor/bin/diversitest

This will copy your working directory to a temporary folder, then for each combination of package versions you listed it will run the command from package_manager key followed by the command from test_runner key., (*7)

The output is sent to your display. It's up to you to handle it., (*8)

Running with an alternative PHP executable

If your PHP executable is not php but something like php7.4, you can run the diversitest likes this:, (*9)

php7.4 vendor/bin/diversitest

The Versions

24/02 2018

dev-master

9999999-dev

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

24/02 2018

v0.5.1

0.5.1.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

24/02 2018

v0.5

0.5.0.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

24/02 2018

dev-issues-6-configurations

dev-issues-6-configurations

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

23/02 2018

v0.4.1

0.4.1.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

23/02 2018

v0.4

0.4.0.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

23/02 2018

dev-issue-1-symfony-3

dev-issue-1-symfony-3

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

20/02 2018

v0.3

0.3.0.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

19/02 2018

v0.2

0.2.0.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires

13/02 2018

v0.1

0.1.0.0

Run tests against varying dependencies versions

  Sources   Download

The Requires

 

The Development Requires