rSpec for testing plugins?

View: New views
3 Messages — Rating Filter:   Alert me  

rSpec for testing plugins?

by Marcelo de Moraes Serpa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rSpec for testing plugins?

by Thorsten Müller-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

So it seems, it's possible, though I didn't have the time
to look into the code right now.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: rSpec for testing plugins?

by Marcelo de Moraes Serpa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <thorsten@...> wrote:

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

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



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---