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
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WEB APP TESTING USING KNOCKOUT.JS

You're reading from   WEB APP TESTING USING KNOCKOUT.JS Design, implement, and maintain a fully tested JavaScript web application using Knockout.JS

Arrow left icon
Product type Book
Published in Nov 2014
Publisher
ISBN-13 9781783982844
Pages 154 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
ROBERTO MESSORA ROBERTO MESSORA
Author Profile Icon ROBERTO MESSORA
ROBERTO MESSORA
Arrow right icon
View More author details
Toc

Chapter 4. Unit Testing Strategies

Testing a software solution is not only a question of technologies; actually, it's more a question of development strategies. For example, the most important objective of Test Driven Development (TDD) is a good overall design of a software solution. TDD is a specific development strategy and it's achieved through unit testing and its tools and frameworks.

It's very important to say that TDD and unit testing are not synonyms, and they're not related to the same concept even if they are complementary. TDD uses unit testing as a way to express a particular development style, but the latter can also be used in a development environment that is not based on TDD. In fact, we can simply write unit tests because we need to avoid regression errors, or because we want to focus on a single software module at a time and need to mock other dependent modules.

There is not enough space in this book to talk extensively about TDD because too many concepts are involved in...

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