Book Image

Twilio Best Practices

Book Image

Twilio Best Practices

Overview of this book

Table of Contents (15 chapters)
Twilio Best Practices
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Automated testing


If you've never tried it before, automated testing can be a somewhat bewildering step, but it is one that makes your applications far more dependable and maintainable.

Test-driven Development (TDD) is one of the most common paradigms. Here, you write your tests before your code, make sure they fail first, and then write code to make them pass. Once this is done, you "refactor", cleaning up and reworking your code but ensuring the tests still passes.

Note

For a helpful general introduction to Test-driven Development, refer to http://code.tutsplus.com/tutorials/the-newbies-guide-to-test-driven-development--net-13835.

Now, let's look at the recommended testing libraries for the different languages and frameworks we've mentioned: