Allows to exclude features or scenarios in Behat tests.
-
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.