# rSpec for testing plugins?

**URL:** <https://www.ruby-forum.com/t/rspec-for-testing-plugins/143967>\
**Category:** Rails\
**Created:** [July 24, 2008, 8:11am UTC](https://www.ruby-forum.com/t/rspec-for-testing-plugins/143967 "2008-07-24T08:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhfs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Post date:** [July 24, 2008, 8:11am UTC](https://www.ruby-forum.com/t/rspec-for-testing-plugins/143967/1 "2008-07-24T08:11:06Z")

</div>

Hello,

Just starting Rails plugin development and I was wondering if I can use  
rSpec to test it? Or am I stuck with Test::Unit?

Thanks,

Marcelo.

---

<div class="post-metadata">

**Author:** ![mhfs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Post date:** [July 24, 2008, 10:22am UTC](https://www.ruby-forum.com/t/rspec-for-testing-plugins/143967/2 "2008-07-24T10:22:49Z")

</div>

I’m having the same question at moment.  
By chance I found, that the Riddle plugin is using  
rspec for it’s tests.

[http://www.sphinxsearch.com/forum/view.html?id=939](http://www.sphinxsearch.com/forum/view.html?id=939)

So it seems, it’s possible, though I didn’t have the time  
to look into the code right now.

---

<div class="post-metadata">

**Author:** ![mhfs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Post date:** [July 24, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/rspec-for-testing-plugins/143967/3 "2008-07-24T19:06:45Z")

</div>

Thanks Thorsten, I will take a look into this plugin and try to figure  
out  
how they wired rSpec in. If I find anything remarkable, I will share my  
experiences here.

Marcelo.

On Thu, Jul 24, 2008 at 5:22 AM, Thorsten MÃ¼ller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
