On Mon, Mar 3, 2008 at 3:17 PM, Mark Dodwell <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I'm quite new to Rspec and I'm embarking on a new project. One thing I'm
>  really not sure about is how to test plugins and code in your 'lib/'
>  folder. Where would these specs actually live in the dir structure?
>
>  Should you test plugins by creating specs within the plugin's dir? Or by
>  adding a spec to the main '/specs' folder - and if so where?
>
>  Any info/best practice advice greatly appreciated.
>
>  ~ Mark
>  --
>  Posted via http://www.ruby-forum.com/.
>  _______________________________________________
>  rspec-users mailing list
>  rspec-users@rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>

For stuff in lib, I create a spec/lib dir and put my specs in there.

For plugins, I use my nifty
http://evang.eli.st/blog/2007/4/4/rspec_plugin-generator

Pat
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to