https://github.com/friendsofbehat/excludespecificationsextension
[WIP] :water_buffalo: Allows to skip specific features or scenarios while executing Behat tests.
https://github.com/friendsofbehat/excludespecificationsextension
behat behat-extension php
Last synced: 12 months ago
JSON representation
[WIP] :water_buffalo: Allows to skip specific features or scenarios while executing Behat tests.
- Host: GitHub
- URL: https://github.com/friendsofbehat/excludespecificationsextension
- Owner: FriendsOfBehat
- License: mit
- Created: 2016-10-27T06:36:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T10:47:23.000Z (over 4 years ago)
- Last Synced: 2025-04-07T10:17:34.021Z (about 1 year ago)
- Topics: behat, behat-extension, php
- Language: PHP
- Homepage:
- Size: 50.8 KB
- Stars: 11
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exclude Specifications Extension [](https://packagist.org/packages/friends-of-behat/exclude-specifications-extension) [](https://packagist.org/packages/friends-of-behat/exclude-specifications-extension) [](http://travis-ci.org/FriendsOfBehat/ExcludeSpecificationsExtension) [](https://scrutinizer-ci.com/g/FriendsOfBehat/ExcludeSpecificationsExtension/)
Allows to exclude features or scenarios in Behat tests.
## Usage
1. Install it:
```bash
$ composer require friends-of-behat/exclude-specifications-extension --dev
```
2. Enable it in your Behat configuration and list features that needs to be excluded:
```yaml
# behat.yml
default:
# ...
extensions:
FriendsOfBehat\ExcludeSpecificationsExtension:
features:
- vendor/library/features/feature_to_be_skipped.feature
- vendor/library/features/another_feature_to_be_skipped.feature
```
3. That's it! :tada: Listed features are going to be excluded while executing Behat tests.