Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Behat CLI syntax #5

Open
pamil opened this issue Oct 27, 2016 · 4 comments
Open

Support for Behat CLI syntax #5

pamil opened this issue Oct 27, 2016 · 4 comments

Comments

@pamil
Copy link
Member

pamil commented Oct 27, 2016

features/abc/ - skips a directory
features/abc/def.feature - skips a feature
feature/abc/def.feature:12 - skips a scenario from a feature
feature/abc/def.feature:12-28 - skips scenarios defined in given lines from a feature

@Zales0123
Copy link
Member

My first idea was to propose this configuration:

FriendsOfBehat\SkipExtension:
    features:
        - feature/feature_to_skip.feature
    scenarios:
        - name of scenario to skip
    tags:
        - tag to be skipped

However, Behat CLI syntax would be more natural... What about merging this two ideas together? Just loudly thinking 😄

@pamil
Copy link
Member Author

pamil commented Oct 27, 2016

The problem with scenario names that they can be (and should be) changed more easily than filename of feature. Anyway, that would require some extra work from us.

We should aim to make the right abstraction in order to be able to replace this configuration and skipping logic without much effort.

@Zales0123
Copy link
Member

Totally agreed

@loic425
Copy link
Contributor

loic425 commented Sep 25, 2019

The problem with scenario names that they can be (and should be) changed more easily than filename of feature. Anyway, that would require some extra work from us.

We should aim to make the right abstraction in order to be able to replace this configuration and skipping logic without much effort.

Yes but given lines could change too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants