# Rspec autotest setup for plugins

**URL:** <https://www.ruby-forum.com/t/rspec-autotest-setup-for-plugins/115374>\
**Category:** Rails\
**Created:** [September 24, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/rspec-autotest-setup-for-plugins/115374 "2007-09-24T16:04:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a183cd/32.png) [@henster](https://www.ruby-forum.com/u/henster)\
**Post date:** [September 24, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/rspec-autotest-setup-for-plugins/115374/1 "2007-09-24T16:04:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![henster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a183cd/32.png) [@henster](https://www.ruby-forum.com/u/henster)\
**Post date:** [October 31, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/rspec-autotest-setup-for-plugins/115374/2 "2007-10-31T19:51:36Z")

</div>

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
