Summary

Finally, we reached the end of the journey by acquiring better knowledge of why unit testing (TDD) is important for any developer. Developers should realize that a precise and proper test can help them to complete the implementation with a good feeling and better quality. Remember that a bad quality test is as good as not spending any effort on unit testing for any code, so it is better not to write unit test in that condition.

From this chapter, we acquired knowledge about unit testing and TDD. In the software industry, we know that we will only gain knowledge once we get our hands dirty by writing some practical examples. Let's start writing new projects using TDD. Once you are in rhythm, it will be easy to follow and make test-driven ...

Get Test-Driven JavaScript Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.