friends-of-behat/exclude-specifications-extension

Allows to exclude features or scenarios in Behat tests.

v0.2.0 2018-10-02 09:41 UTC

README

Allows to exclude features or scenarios in Behat tests.

Usage

  1. Install it:

    $ composer require friends-of-behat/exclude-specifications-extension --dev
  2. 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
  3. That's it! 🎉 Listed features are going to be excluded while executing Behat tests.