On Fri, Jul 31, 2009 at 7:36 AM, David Chelimsky<dchelim...@gmail.com> wrote:
>
> Other thoughts?

Here's one I've been meaning to bring up for a while: porting
Cucumber's FIT-like table functionality to RSpec.

I don't use scenario outlines very much in Cucumber.  I much prefer
factories and keeping one clear narration per major execution path.
To me, the real value of something like outline tables is to test edge
cases: inputs x and y should produce output z, which can be either
success or a distinct sort of failure.  But testing edge cases in
Cucumber feels a bit kludgy to me.  I don't like having to look for
flash messages to tell me what succeeded or failed.

I would much rather test these cases at a finer-grained level in
RSpec.  Using the exact same table format as a set of values for an
RSpec example group to iterate over makes all kinds of sense.  That
would be this year's Christmas wish for me.  >8->


-- 
Have Fun,
   Steve Eley (sfe...@gmail.com)
   ESCAPE POD - The Science Fiction Podcast Magazine
   http://www.escapepod.org
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to