friends-of-behat / exclude-specifications-extension
Allows to exclude features or scenarios in Behat tests.
Installs: 96 343
Dependents: 2
Suggesters: 0
Security: 0
Stars: 11
Watchers: 4
Forks: 6
Open Issues: 3
Requires
- php: ^7.4 || ^8.0
- behat/behat: ^3.4
- symfony/dependency-injection: ^5.3 || ^6.0
Requires (Dev)
- friends-of-behat/test-context: ^1.3
- phpspec/phpspec: ^7.0
README
Exclude Specifications Extension
![Scrutinizer Quality Score](https://camo.githubusercontent.com/31f270272548fc4a98da90b93bd435d9ede5eda8ae5620b7e80bceb8f17fff90/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f467269656e64734f6642656861742f4578636c75646553706563696669636174696f6e73457874656e73696f6e2e737667)
Allows to exclude features or scenarios in Behat tests.
Usage
-
Install it:
$ composer require friends-of-behat/exclude-specifications-extension --dev
-
Enable it in your Behat configuration and list features that needs to be excluded:
# behat.yml default: # ... extensions: FriendsOfBehat\ExcludeSpecificationsExtension: features: - vendor/library/features/feature_to_be_skipped.feature - vendor/library/features/another_feature_to_be_skipped.feature
-
That's it! 🎉 Listed features are going to be excluded while executing Behat tests.