Created
August 20, 2012 14:15
-
-
Save keeperofthenecklace/3404632 to your computer and use it in GitHub Desktop.
Cucumber Testing Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rails new albertsproject | |
$ cd albertsproject | |
$ Add to gemfile | |
group :development, :test do | |
gem 'rspec-rails' | |
gem 'cucumber-rails' | |
gem 'capybara' | |
end | |
$ bundle install | |
$ rails generate --help **view generators | |
$ rails generate rspec:install | |
$ rails generate cucumber:install | |
# Setup database | |
$ rake db:migrate | |
$ rake db:test:prepare | |
$ rake spec | |
$ rake cucumber | |
$ bundle exec spec spec/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment