ciaranmcnulty / versionbasedtestskipper
Skip Behat scenarios based on PHP version
Package info
github.com/ciaranmcnulty/version-based-test-skipper
pkg:composer/ciaranmcnulty/versionbasedtestskipper
0.3
2020-10-08 18:40 UTC
Requires
- php: ^7.2 || ^8.0
- composer/semver: ^3.0
Requires (Dev)
- behat/behat: ^3.0
- phpspec/phpspec: ^6.0
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2026-02-19 03:06:19 UTC
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