timjroberts / cucumber-js-tsflow

Provides 'specflow' like bindings for Cucumber.js in TypeScript 1.7+.
MIT License
133 stars 34 forks source link

Replace binding decorator with more meaningful name #7

Closed codeandcats closed 8 years ago

codeandcats commented 8 years ago

@binding decorator is great, but a little vague and generic in its name, compared to given, when, then, etc.

Suggest reexporting it as something more meaningful and domain specific like feature or spec.

codeandcats commented 8 years ago

Ah, I just realised this is to match SpecFlow's binding attribute.

timjroberts commented 8 years ago

Yeah, the decorators are all based on SpecFlow's attributes.