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
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 Mon, Mar 3, 2008 at 3:17 PM, Mark D. [email protected]
wrote:
~ Mark
Posted via http://www.ruby-forum.com/.
rspec-users mailing list
[email protected]
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
Pat