A modest proposal towards reusable step definitions for Cucumber
While the title is a nod to the original modest proposal this is completely serious. I just liked the title. Pez thought I should be more clear.
Typically, cucumber step definitions look like this:
When /^I select the recipient named “([^"]*)”$/ do |recipientname| within_jqm_page do page.find(’a', :text => recipientname).click end end
Step definitions implemented like this end [...]
Tagged cucumber, ruby, testing