[rspec-users] Autotest with RSpec Rails and Engines
dchelimsky at gmail.com
Wed Jan 30 19:23:37 EST 2008
On Jan 30, 2008 4:16 PM, lfeistel <lfeistel at lnstar.com> wrote:
> I am also running into nearly this same issue. I am using NetBeans with
> autotest as I am developing a new Engine Plugin. I would like the tests for
> the Engine to live in the plugin's spec directory. But it seems that the
> only way to run the plugin specs is through rake spec:plugins. I can
> understand that we wouldn't always want to have the plugin specs getting run
> along with the app's specs, but in this case I do need this functionality
> since I am developing an Engine.
> Has this issue been resolved? I see that there was never any reply to it.
If you're looking to run them using rake, just write your own rake task.
If you're looking to run them using autotest, check this out:
> Shane Mingins-3 wrote:
> > We have a Rails project using an engine which I want to run autotest
> > with rspec against.
> > So the project specific specs are in the specs directory but the
> > common specs are in the specs directory of the engine plugin (e.g.
> > vendor/plugin/engine/specs)
> View this message in context: http://www.nabble.com/Autotest-with-RSpec-Rails-and-Engines-tp12876700p15193445.html
> Sent from the rspec-users mailing list archive at Nabble.com.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users