Posted over 1 year ago. Visible to the public.

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.

Cucumber Factory

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 Background or turn scenarios into a Scenario outline?
  • Can you use a Harness in your step definitions? Is it worth it?

Author of this card:

Avatar
Tobias Kraze
Last edit:
27 days ago
by Florian Leinsinger
Posted by Tobias Kraze to makandra Curriculum
This website uses cookies to improve usability and analyze traffic.
Accept or learn more