December 2015
Intermediate to advanced
240 pages
4h 57m
English
From the start of this book, you have been learning concepts of test-driven development for JavaScript along with many tools and frameworks. We got to know about the observer pattern, feature detection, server-side testing, and so on. You learned a number of ways to write unit tests. Knowing how to write unit tests and developing projects is not enough. We need to get the best out of them by following a right process and standard, sometimes referred to as best practices.
In this chapter, you will learn about best practices in JavaScript for test-driven development. We will see different ways that can help us to write good code using test-driven development.
A unit test is a function or method, which invokes ...
Read now
Unlock full access