Rspec autotest setup for plugins

Hey,

Anyone writing specs for plugins?

I’m trying to write a spec for a plugin and can’t find the preferred
method to set up autotest.

I see the rails rspec plugin has a rake task called spec:plugins which
feels very close to the mark. I want to just test one of the plugins
rather than all of them… and use autotest.

I tried just running autotest from the plugin dir itself which works
but it avoids all the goodness of the rspec_on_rails plugin… such as
the drb server… and silencing that history repetition thing.

?

cheers
-henry

Hi Henry:

Im trying to get it working, I will post my solution.

P

Henry T. wrote:

Hey,

Anyone writing specs for plugins?

I’m trying to write a spec for a plugin and can’t find the preferred
method to set up autotest.

I see the rails rspec plugin has a rake task called spec:plugins which
feels very close to the mark. I want to just test one of the plugins
rather than all of them… and use autotest.

I tried just running autotest from the plugin dir itself which works
but it avoids all the goodness of the rspec_on_rails plugin… such as
the drb server… and silencing that history repetition thing.

?

cheers
-henry