Coder Social home page Coder Social logo

SMS Testing about promptly HOT 6 CLOSED

codeforamerica avatar codeforamerica commented on July 17, 2024
SMS Testing

from promptly.

Comments (6)

mick avatar mick commented on July 17, 2024

Localtunnel is also a good option for debugging posthooks while running the code locally http://localtunnel.com

from promptly.

daguar avatar daguar commented on July 17, 2024

If you just want to test texting input and what your app outputs (in isolation of any API calls), it looks like you could just write tests for TextController#receive_text_message.

from promptly.

andyhull avatar andyhull commented on July 17, 2024

Yes, I should be writing tests anyway.

from promptly.

ycombinator avatar ycombinator commented on July 17, 2024

I was just about to say, its just an API that Twilio talks to, so you could write tests for it w/o involving actual SMSs. That's what we did for Hermes.

from promptly.

andyhull avatar andyhull commented on July 17, 2024

Tests are being written for this now. Closing.

from promptly.

daguar avatar daguar commented on July 17, 2024

In case you're interested, here's what I did to test all this stuff (caveat: it's totally not well-factored):
https://github.com/daguar/automidnight/blob/master/spec/requests/sms_interactions_spec.rb

from promptly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.