[Rails-core] Re: Should I make plugin tests project-independent?

2007-10-24 Thread Aaron Pfeifer
I should mention here are a few examples of its usage (besides the README): http://svn.practical.cc/plugins/acts_as_tokenized http://svn.pluginaweek.org/trunk/plugins/active_record/attributes/encrypted_attributes On Oct 24, 12:59 pm, Aaron Pfeifer <[EMAIL PROTECTED]> wrote: > We released a plugi

[Rails-core] Re: Should I make plugin tests project-independent?

2007-10-24 Thread Aaron Pfeifer
We released a plugin/gem that provides support for this type of thing: http://wiki.pluginaweek.org/Plugin_test_helper We use it in many of our own plugins. On Oct 24, 12:59 am, Josh Peek <[EMAIL PROTECTED]> wrote: > On Oct 23, 11:49 pm, "Krishna Dole" <[EMAIL PROTECTED]> wrote: > > > Is this no

[Rails-core] Re: Should I make plugin tests project-independent?

2007-10-23 Thread Krishna Dole
Thanks for the quick response, Josh and Rick. Krishna On 10/23/07, Rick Olson <[EMAIL PROTECTED]> wrote: > > On 10/23/07, Krishna Dole <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm working on a patch for the official auto_complete plugin. I > > noticed that a lot of the new plugins (e.g. a

[Rails-core] Re: Should I make plugin tests project-independent?

2007-10-23 Thread Rick Olson
On 10/23/07, Krishna Dole <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm working on a patch for the official auto_complete plugin. I > noticed that a lot of the new plugins (e.g. acts_as_tree) are set up > to be testable outside of a rails project. Is this now considered best > practice? If so I'll m

[Rails-core] Re: Should I make plugin tests project-independent?

2007-10-23 Thread Josh Peek
On Oct 23, 11:49 pm, "Krishna Dole" <[EMAIL PROTECTED]> wrote: > Is this now considered best practice? Yes. However, there is no real official way to do it. At some point there may be an official plugin_test_helper you'll be able to require. Maybe I'll look into this kind of thing this week. -