Open pamil opened 8 years ago
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 😄
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.
Totally agreed
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 :)
features/abc/
- skips a directoryfeatures/abc/def.feature
- skips a featurefeature/abc/def.feature:12
- skips a scenario from a featurefeature/abc/def.feature:12-28
- skips scenarios defined in given lines from a feature