On the note of suffixes, I've been using _story over _spec for story files. I have also add two top level directories in my project:<div><br class="webkit-block-placeholder"></div><div> project/</div><div> specs/</div>
<div> stories/</div><div><br> </div><div>Zach</div><div><br><br><div><span class="gmail_quote">On 10/23/07, <b class="gmail_sendername">Ashley Moran</b> <<a href="mailto:work@ashleymoran.me.uk">work@ashleymoran.me.uk
</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Bleeding-edge story-writers,<br><br>How are you structuring your specs?<br><br>I am working on a new project and tried this:
<br><br>./lib<br> ./blah<br>./spec<br> ./blah<br> ./stories<br><br>But it breaks autotest, so I moved stories parallel to lib and spec.<br><br>Also what about suffixes?<br><br>I have adopted "xyz_story_spec.rb", and "
xyz.story" for the time<br>being, with the line<br> runner = Spec::Story::Runner::PlainTextStoryRunner.new(<br> File.expand_path(__FILE__).gsub("_story_spec.rb",<br>".story")<br> )
<br><br>in the former. Simple to make TextMate recognise the RSpec files<br>(even though they aren't, as such) and to give an extension to the<br>stories.<br><br><br>Ashley<br><br><br>--<br>blog @ <a href="http://aviewfromafar.net/">
http://aviewfromafar.net/</a><br>linked-in @ <a href="http://www.linkedin.com/in">http://www.linkedin.com/in</a>/ashleymoran<br>currently @ home<br><br>_______________________________________________<br>rspec-users mailing list
<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman">http://rubyforge.org/mailman</a>/listinfo/rspec-users<br></blockquote></div><br><br clear="all"><br>--
<br>Zach Dennis<br><a href="http://www.continuousthinking.com">http://www.continuousthinking.com</a>
</div>