Search code examples
testingtwilioivrtwilio-twiml

How to automate twilio outgoing call testing


Looking to add Twilio to one of the project. Managed to setup outgoing calls with But how can I automate the testing of these outgoing call scripts ? or testing the simple IVR that I have setup.


Solution

  • Twilio developer evangelist here.

    Twilio customer Simply Business wrote up an in depth series of blog posts describing how they implemented integration testing for their Twilio based code. I recommend you read through the posts for all the insights:

    1. Part 1: Why testing Twilio integration is hard in our scenario
    2. Automating tests in your local machine
    3. Improving tests to make them deployable to CI environment