[LRUG] Writing readable feature tests with RSpec

Tom Stuart tom at codon.com
Wed Jul 30 07:58:43 PDT 2014


On 30 Jul 2014, at 15:51, Paul Battley <pbattley at gmail.com> wrote:
> It makes me wonder if, when using Cucumber, I'd be happier if steps were feature-specific
> by default. (Is that a thing that can be achieved in Cucumber?)

For better or worse, this is actively discouraged, because step definitions are supposed to be aligned with the domain rather than with individual features: https://github.com/cucumber/cucumber/wiki/Feature-Coupled-Step-Definitions-(Antipattern)

Cheers,
-Tom


More information about the Chat mailing list