ciaranmcnulty/versionbasedtestskipper
Skip Behat scenarios based on PHP version
0.2.1
2016-06-05 18:59 UTC
Requires
- php: ~5.3|~7.0
- composer/semver: ~1.4
Requires (Dev)
- phpspec/phpspec: ~2.4
- behat/behat: ~3.1
- phpunit/phpunit: ~4.0 || ~5.0
README
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