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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.