Posted almost 7 years ago. Visible to the public. Repeats.

Cucumber features as documentation

Cucumber allows for prose in features and scenarios. Example:

Copy
Feature: Cancel account There are several ways to cancel a user account. Admins need to do it in complex cases, but normally, users can do it themselves. Scenario: User cancels his own account Users should be able to cancel an account themselves, so the admins do not need to do it. Given a user account for "willy@astor.de" When I sign in as "willy@astor.de" And I follow "Cancel account" Then I should see "Account canceled"

By going beyond the single line descriptions we've accustomed to, we can provide all the information that is required to understand the intention and meaning of a feature/scenario. That way, future developers can quickly get an understanding of the application.

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Owner of this card:

Avatar
Dominik Schöler
Last edit:
almost 7 years ago
by Besprechungs-PC
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more