Skip to Content
Test-Driven JavaScript Development
book

Test-Driven JavaScript Development

by Ravi Kumar Gupta
December 2015
Intermediate to advanced
240 pages
4h 57m
English
Packt Publishing
Content preview from Test-Driven JavaScript Development

Follow proper rules to define test cases

Properly defined test cases gives a better view of the code, and developers can easily find what they want to find in the code. Many tools also need proper naming conventions to be followed. There are so many naming conventions techniques available out of which we will see a few techniques. It is better to follow some naming conventions than nothing, like the saying "something is better than nothing."

Let's take an example of a project. If it is mandatory for all users to follow the same naming conventions, everyone will have to follow the same standard. When it comes to module integration or to understand the code written by other developers, it's easier to follow the flow of system.

Make test case names ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driven JavaScript Development

Test-Driven JavaScript Development

Christian Johansen
Front-End Development Projects with Vue.js

Front-End Development Projects with Vue.js

Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin, Dániel Szabó

Publisher Resources

ISBN: 9781782174929Supplemental Content