[rspec-users] How is everyone structuring stories?

David Chelimsky dchelimsky at gmail.com
Tue Oct 23 16:55:02 EDT 2007


On 10/23/07, Ashley Moran <work at ashleymoran.me.uk> wrote:
> Bleeding-edge story-writers,
>
> How are you structuring your specs?

PROJECT_ROOT/spec
PROJECT_ROOT/stories

They are intended to be separate beasts. This makes it more obvious.
One thing we've toyed with is:

PROJECT_ROOT/behaviour/specs
PROJECT_ROOT/behaviour/stories

but then a rails view spec ends up being:

PROJECT_ROOT/behaviour/specs/views/controllername/index.html.erb_spec.rb

pretty long, ay?

Nice thing about /behaviour is that it sits right next to /app.


More information about the rspec-users mailing list