Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.45 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.45 KB

Exclude Specifications Extension License Version Build status on Linux Scrutinizer Quality Score

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.