friends-of-behat / exclude-specifications-extension
Allows to exclude features or scenarios in Behat tests.
Installs: 102 154
Dependents: 1
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
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.