←back to thread

297 points mooreds | 1 comments | | HN request time: 0.207s | source
Show context
ldthorne ◴[] No.42179649[source]
Does anyone know of a similar tool for catching SMS messages in local/development environment? My company uses mailtrap[0] in our development environments to give engineers and product managers a tool to preview emails that would otherwise be sent to users and we're looking for a similar tool for the SMS messages that we send via Twilio. I'd love to have a shared "inbox" per-development environment where PMs can see all the SMS messages that would have been sent (namely to whom the message was sent + the content of the SMS). Ideally it'd hook into whatever Twilio SDK your app is using to send messages (Python, in our case) to intercept calls and route them to the sandbox instead.

It seems like Twilio played with this idea with the Twilio Dev Phone project[1] but that project doesn't seem to be actively maintained.

[0] https://mailtrap.io [1] https://github.com/twilio-labs/dev-phone

replies(2): >>42181483 #>>42183881 #
1. e12e ◴[] No.42183881[source]
Not the same thing, bit VCR and variants can help with testing external api calls (see "ports to other languages"):

https://github.com/vcr/vcr