[rspec-users] newbq: Organizing your stories

Pat Maddox pergesu at gmail.com
Thu Apr 10 21:34:56 EDT 2008

On Thu, Apr 10, 2008 at 5:46 PM, Tim Haines <tmhaines at gmail.com> wrote:
> Hi,
> I'm a little unhappy with how my stories are organised, and am wondering if
> anyone has found any particular method nicest.  I'm working within an admin
> namespace, and currently have a plain text story file for each controller in
> the admin folder.  I also have a steps subfolder, with one step file per
> controller.
> I'm thinking it would be nicer to add a little more granularity here, and to
> break the plain text story files down further into "actions" on each
> controller so there's fewer stories per story file.  This could be done
> either in the one folder, or by adding a bunch of subfolders.

I tend to have one story file per action, because one action is more
or less an atomic unit of functionality.


More information about the rspec-users mailing list