Feature: <%= feature['short_name'] %>
<%= feature['description'].join '
' %>
<% feature['scenarios'].each do |scenario| %>
<%= scenario['file_colon_line'] %>
<%= scenario['keyword'] %>: <%= scenario['name'] %>
<% scenario['steps'].each do |step| %>
-
<%= step['keyword'] %><%= step['name'] %>
<%= step['file_colon_line'] %>
<% if step['exception'] %>
<%= step['exception']['message'] %>
<%= step['exception']['backtrace'].gsub('\n', '
') %>
<%= snippet step['exception'] %>
<% end %>
<% unless step['table'].empty? %>
<% step['table'].each_with_index do |rowdata, row| %>
<% rowdata.each_with_index do |value, col| %>
<%= value %> |
<% end %>
<% end %>
<% end %>
<% if step['multiline_string'] %>
<%= step['multiline_string'] %>
<% end %>
<% end %>
<% end %>