friends-of-behat/exclude-specifications-extension

Allows to exclude features or scenarios in Behat tests.

v0.3.0 2022-02-07 10:46 UTC

This package is auto-updated.

Last update: 2024-04-07 15:23:10 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.