Skip to content

cs3b/steak_fm

Repository files navigation

SteakFm

Extend Steak github.com/cavalle/steak to cope with large amount of features (make them maintainable) - similar as CucumberFM github.com/aslakhellesoy/cucumber was for cucumber. github.com/aslakhellesoy/cucumber

It’s attempt to have business language stories ( in free format ) and connected with them automatic acceptance tests, but without need to write step definitions.

  • it allow to put story and narration - in free natural language - as comment before background, scenario and feature

  • there is possibility to add meta information as comments

  • it parse rspec tags ( merge them with meta info in comments )

Example

#  In order to fetch only scenarios that i want
#  as project manager, developer
#  I want to be able to create filter scope
# some comment
## wireframe: http://cs3b.com
## developer: mc

feature "Tag filter", :tag => true do

    #    Given system user "[email protected]/secret" with role "locale"
    #    And system user "[email protected]/secret" with role "product"
    #    And signed up with "[email protected]/secret"
    #    And I sign in as "[email protected]/test_pass"
    #    And user "[email protected]" has assigned role "sys_user"
    #    And I am on system user administration page
    ## title: I am logged in as user admin

    background do
    # ...
    end

    #  When I follow "New system user"
    #  And I fill in "[email protected]" for "Email"
    #  And I fill in "password" for "Password"
    #  And I fill in "password" for "Password Confirmation"
    #  And I fill in "password" for "Password Confirmation"
    ## wireframe: http://somelink
    ## effort: 5.25

    scenario "creating filter scope", :milestone => '0.2', :status => :todo do
    # ...
    end

    # When I set user with <id> email address <email>
    # Then he would have role <roles>
    #
    #  Examples:
    #    |id   |email                |roles                             |
    #    |5    |[email protected]          |admin                             |
    ## effort: 3

    scenario "Selecting filter scope as active", :milestone => '0.1', :status => 'backlog' do
    # ...
    end

end

Copyright © 2011 [cs3b], released under the MIT license

About

Help to manage with big amount of features in project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published