twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.36k stars 464 forks source link

Request for test mode #3

Closed ppg closed 12 years ago

ppg commented 14 years ago

Great gem, very useful but its hard to put into TDD since its fairly complex. Generally other gems like this (i.e. clickatell's gem) include a method to emulate the API so that one can run tests but not hit there account. Any chance of getting that implemented here?

michaelansel commented 14 years ago

I put together a mostly functional simulator [1] a little over a year ago, but it was focused solely on TwiML conversations. If I ever have some free time, I want to revisit the project and put together a more comprehensive simulator, but as a college student, I don't see that happening any time soon.

[1] http://github.com/michaelansel/twilio-ruby-toolkit/blob/master/twilio/call_handler.rb

andrewmbenton commented 12 years ago

We know testing against the Twilio API is a pain point for a lot of developers and we are thinking about ways to solve that problem. I am closing this since it doesn't reflect an issue with the twilio-ruby library specifically.