Both these approaches will keep your GET parameters -- and will only work for GET requests. Capybara: When /^I reload the...

Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...

RSpec's context (which is basically an alias for describe) takes over your whole application. No object may have its...

This will not work (it always passes): Then the "Title" field should contain "" The value is turned into a regular...

youtube.com

power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...

github.com

By default, Cucumber uses mocha. This note shows to use RSpec stubs and mocks instead. Rspec 1 / Rails 2

makandra dev

This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...

makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

github.com

Boolean attributes can now be set by appending "which", "that" or "who" at the end: Given there is a movie...

Spreewald has steps that let you test that e-mails have been sent, using arbitrary conditions in any combination.

wiki.github.com

The following example is from the Cucumber wiki: Given a blog post named "Random" with Markdown body """ Some Title, Eh...

Capybara does not play nice with sites that have some actions protected by SSL, some not. A popular way to...

When a Cucumber feature leaves your page through an external Link, Webrat has problems like "Could not find field: "E...

Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...

With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...

github.com

We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...

When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...

script/cucumber features/feature_name.feature Or, if you don't care about speed, you can use rake: rake features FEATURE=features/feature_name.feature

makandra dev

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

smartic.us

In this presentation, I demoed Cucumber and Webrat. I also talked about Integrity and how I like to put it...

mwrc2009.confreaks.com

BDD/Cucumber talk by Ben Mabey.

themomorohoax.com

Here are eight things my team has found to be true after working with Cucumber for about 6 months.