Sha256: a25d5d8913caffc95f5b0af3f395734d6e3578b4df257d1a71d177f711bf4b73
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
cucumber-sinatra ================ # Description This little gem will help you to initialize a cucumber environment for a sinatra application. It will generate the required files from templates. For now it's generating an `env.rb` that is using [rspec](http://github.com/dchelimsky/rspec) and [capybara](http://github.com/jnicklas/capybara). More options might be added later. # Installation It's available as a gem that can be installed with the following command. gem install cucumber-sinatra # Usage To initialize the cucumber environment, just execute `cucumber-sinatra` like this: # cucumber-sinatra init MyApp lib/my_app.rb [ADDED] features/step_definitions [ADDED] features/support/env.rb # * The first argument is the class name of your application. * The second argument is the path to the application file that should be required. Using the `--app` option with `init` will also generate the given application file and a working `config.ru`. # cucumber-sinatra init --app MyApp lib/my_app.rb [ADDED] features/step_definitions [ADDED] features/support/env.rb [ADDED] lib/my_app.rb [ADDED] config.ru # # Copyright Copyright (c) 2010 Bernd Ahlers. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-sinatra-0.1.0 | README.md |