> Why not write a wrapper step, something like > > Given /I submit the billing address form with valid data/ do > submit_form { > :email => 'mickey_mo...@test.com', > :firstName => 'Mickey'} # etc > end > > And call that from your feature? Do you really need to see all the fields > in the formatted output? Are they relevant to the particular scenario you're > building, or just noise? > > Hi Matt,
I thought about that noise thing - at first I thought it was just noise. But then it turns out that specifying the values in the test actually exposed errors that the customer *did* care about - so they would like to see them in the tests. I'll rethink if it's really just noise or not. For now, I think I'll just pull it from the tests and see if anyone misses not seeing the tables in the test. If they don't, then it was just noise. Still, how hard would it be to have some kind of a include_partial '...' behavior to cucumber tests ? There are always going to be times when the details are important enough that they should be seen in the test and we want to express it as reuse table-like data. -- John Goodsen RADSoft / Better Software Faster jgood...@radsoft.com Lean/Agile/XP/Scrum Coaching and Training http://www.radsoft.com Ruby on Rails and Java Solutions
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users