Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topfunky/purple-monkey-dishwasher
An example of how to use Cucumber and Rack::Test with Sinatra
https://github.com/topfunky/purple-monkey-dishwasher
Last synced: 11 days ago
JSON representation
An example of how to use Cucumber and Rack::Test with Sinatra
- Host: GitHub
- URL: https://github.com/topfunky/purple-monkey-dishwasher
- Owner: topfunky
- Created: 2010-01-20T20:13:08.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-01-20T20:21:44.000Z (almost 15 years ago)
- Last Synced: 2024-04-15T14:13:25.214Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 74.2 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Purple Monkey Dishwasher
========================An example of how to use Cucumber and Rack::Test with Sinatra.
## Running
~/Code/purple-monkey-dishwasher $ cucumber features
Feature:Scenario: / returns the sinatra environment # features/home.feature:2
When GET on / # features/steps/generic.rb:1
Then body is "test!" # features/steps/generic.rb:51 scenario
2 passed steps
~/Code/purple-monkey-dishwasher $## Rake tasks
A default config/cucumber.yml and Rake tasks are also included.
# See all Rake tasks
% rake -TYou can run your cucumbers in your default Rake task:
# In your Rakefile
task :default => :cucumber# From the command line
% rakeOr with other tasks:
# In your Rakefile
task :default => [:cucumber, :spec]