Cucumber in depth
Advanced cucumber features
Learn about the following cucumber features:
Also read through the card How to not repeat yourself in Cucumber scenarios.
We have a very useful gem to create test data in cucumber: cucumber_factory.
Read through the README.
Integrate it into your MovieDB and replace your custom model creation steps with Cucumber Factory.
Simplify your cucumber features
Look through your MovieDB features and step definitions. Can you spot opportunities to apply what you learnt?
- Can you move duplicate steps to a
Backgroundor turn scenarios into a
- Can you use a Harness in your step definitions? Is it worth it?