ciaranmcnulty / version-based-test-skipper

Library for skipping tests based on php version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

A library for skipping tests based on PHP version in tags

The ultimate aim is to support multiple testing tools, for now just Behat is supported

Installation

composer require --dev ciaranmcnulty/versionbasedtestskipper

Using with Behat

Edit your behat.yml:

default:
  extensions:
    Cjm\Behat\VersionBasedTestSkipperExtension: ~

Use composer-style constraints to tag your scenarios or features:

@php:~7.0.1
Scenario: will only run in PHP 7.0.1 or greater

About

Library for skipping tests based on php version

License:MIT License


Languages

Language:PHP 97.4%Language:Gherkin 2.6%