Thanks for this!  I came across your message while writing my first  
plugin.  You allowed me to take 20 lines of lib code and turn it into  
a fully tested plugin in 30 minutes!

Thanks man!
Joe

On Mar 3, 2008, at 7:46 PM, Pat Maddox wrote:

> 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

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

Reply via email to