To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Feature to Ruby Generator
In order to save time,
As a Developer who writes features in collaboration,
I want to generate *.feature.rb fies from plain text .feature files with empty steps blocks.
- A ruby project
a "the_simplest_feature.feature" file:
Feature: The Simplest Feature A description Scenario: The Simplest Scenario Given some pre-conditions When something happens Then things should work as expected
- First time generation
- I run the manioc command on the feature
it creates a "spec/acceptance/the_simplest_feature.feature.rb" file with:
require 'spec_helper' Feature 'The Simplest Feature' do Description <<TXT A description >> end Scenario "The Simplest Scenario" do Given "some pre-conditions" do end When "something happens" do end Then "things should work as expected" do end end end
Last published over 4 years ago by Jean-Michel Garnier.