Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Twilio Best Practices

You're reading from   Twilio Best Practices Learn how to build powerful real-time voice and SMS applications with Twilio

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781782175896
Length 178 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

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:

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime