# Testing a rest plugin

**URL:** <https://www.ruby-forum.com/t/testing-a-rest-plugin/114543>\
**Category:** Rails\
**Created:** [September 14, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/testing-a-rest-plugin/114543 "2007-09-14T15:20:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmanueloga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emmanueloga](https://www.ruby-forum.com/u/emmanueloga)\
**Post date:** [September 14, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/testing-a-rest-plugin/114543/1 "2007-09-14T15:20:03Z")

</div>

Hello, I have a plugin that interacts with nearly all parts of rails  
(Controller / ActiveRecord / Routing / Views / Views’ Helpers) I’m in  
the need of some sort of integration testing.

My idea is to step on the test directory of the plugin and type “rails  
app” to make some very simple app to test it.

I would like to know if i’m shooting in my foot somehow by doing this, i  
believe that is the way the  
[http://groups.google.com/group/make\_resourceful](http://groups.google.com/group/make_resourceful) tests work, but i’m not  
quite sure.

An interesting fact is that my plugin “automatically” interacts with  
will\_paginate plugin and ferret gem, so i need those present when  
testing my plugin.

Any sugestions?

Thanks!
