Cucumber Features

Expand All

Collapse All

<% @features.each do |feature| %>

Feature: <%= feature['short_name'] %>

<%= feature['description'].join '
' %>

<% feature['scenarios'].each do |scenario| %>
<%= scenario['file_colon_line'] %>

Scenario: <%= scenario['name'] %>

    <% scenario['steps'].each do |step| %>
  1. <%= step['keyword'] %><%= step['name'] %>
    <%= step['file_colon_line'] %>
  2. <% end %>
<% end %>
<% end %>