Skip to content

Commit

Permalink
Add notes about changes to running specs/features
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Apr 5, 2010
1 parent ff13d41 commit 9de8a8b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
5 changes: 4 additions & 1 deletion History.txt
@@ -1,7 +1,10 @@
== 0.2.6 - 5 Apr 2010

* 1 minor improvement
* 2 improvements
* running specs is now doable without being in a rails app - just do 'rake spec'
* running features is more straightforward, 'rake cucumber' then follow the instructions


== 0.2.5 - 17 Mar 2010

* 2 improvements
Expand Down
17 changes: 7 additions & 10 deletions README.rdoc
Expand Up @@ -45,18 +45,15 @@ It's tested against all stable branches of 2.x rails, and edge, with the latest

== Run the tests

You can run the test with <b>garlic</b> http://github.com/ianwhite/garlic, which tests against different versions of rails.

Or, you can make a test rails app:
To run the specs do:

cd ~/wherever_you_work
rails pickle_test_project; cd pickle_test_project
script/generate rspec
script/generate cucumber --rspec
script/plugin install git://github.com/ianwhite/pickle.git
cd vendor/plugins/pickle
rake spec
cucumber features

To run the features do:

rake cucumber

The first time you do this, instructions will appear about how to set up a test rails app.

== Contributors

Expand Down
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -37,7 +37,7 @@ end

desc "Run features for #{PluginName} (progress)"
Cucumber::Rake::Task.new(:cucumber => [:cucumber_test_app]) do |t|
t.cucumber_opts = ['--format', 'progress', '--require', 'features']
t.cucumber_opts = ['--format', 'pretty', '--require', 'features']
end

desc "setup a rails app for running cucumber"
Expand All @@ -48,6 +48,8 @@ file "cucumber_test_app" do
Until this is automated, do something like:
(make sure cucumber, cucumber-rails, rspec, rspec-rails, machinist, and factory_girl are all installed as gems)
rails cucumber_test_app
cd cucumber_test_app
script/generate rspec
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.2.5
0.2.6

0 comments on commit 9de8a8b

Please sign in to comment.