Re:Steak 1.0 released or Why Cucumber might not be your best...
by YakiSauce on Tuesday November 23, 2010 @11:48AM
(#1934309)
In defense of Cucumber, I've been a rails developer for more than 2 years and I still find it easier to read English than Ruby. I think the extra layer of abstraction is well worth the effort when reading over other people's tests.
[ Parent
| on HN ]
Re:Steak 1.0 released or Why Cucumber might not be your best...
by bryanlarsen on Friday November 26, 2010 @10:18PM
(#1944181)
Have you actually used Webrat? It reads English with extra punctuation. Here's an example from a test I happen to have open at this exact moment:
visit "/special_recipes/new"
fill_in "special_recipe[name]", :with => "Pie"
select "Test User", :from => "special_recipe[user_id]"
click_button "Create Special Recipe"
The mind naturally skips the punctuation. It actually reads easier than some Cucumber tests I've seen.