[rspec-devel] Story Directory Structure

David Chelimsky dchelimsky at gmail.com
Thu Nov 8 16:02:46 EST 2007

On Nov 8, 2007 2:59 PM, Josh Knowles <joshknowles at gmail.com> wrote:
> On 11/8/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> >
> > The steps are organized by concept rather than by story. The
> > stories.rb file in each subdirectory runs just the stories in that
> > sub, while stories/all.rb runs them all.
> I like how you've structured this.  Do you find that all steps fall
> into concepts, or are you also defining story specific steps within
> the stories.rb?
> Do you feel there's a long-term need for all.rb or should it be
> replaced with a rake task?

There IS a rake task:

rake stories

It calls stories/all.rb :)

However, I don't think we have enough experience/convention to know
what that rake task should do - right now I get to define whatever I
want in all.rb. Simpler that way, in my view.


> --
> Josh Knowles
> phone: 509-979-1593
> email:  joshknowles at gmail.com
> web:    http://joshknowles.com
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel

More information about the rspec-devel mailing list