1.1.7 • Published 6 years ago

reuse-cucumber-scenarios v1.1.7

Weekly downloads
52
License
MIT
Repository
github
Last release
6 years ago

Reuse-cucumber-scenarios.js

Reuse-cucumber-scenarios is a package that lets you call a cucumber scenario in a single step. The goal is to avoid step repetition (keep your .feature files DRY). You can :

  • , from a step in a scenario, call another scenario by its tag and set the parameters for each step it has.
  • define scenario functions with variables, then call it by its tag in a different scenario and set actual values for the variables.

Install in Node.js

reuse-cucumber-scenarios.js is available as an npm module.

$ npm install --save-dev reuse-cucumber-scenarios

Usage

Enjoy the Power

Now, we can see how useful is calling scenarios as if they were single steps.

Please, share if you like it and/or give me a star :D

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago