Test-Driven JavaScript Development

Learn JavaScript test-driven development using popular frameworks and tools



Bookstore > Books > Test-Driven JavaScript Development

Price$39.99 - $50.08
Rating
AuthorsRavi Kumar Gupta, Hetal Prajapati, Harmeet Singh
PublisherPackt Publishing
Published2015
Pages240
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101782174923
ISBN-139781782174929
EBook Hardcover Paperback

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code has already been written that changing and maintaining it further is tedious. Here comes the importance of automated testing and more specifically, developing all that code in a test-driven environment. Test-driven development is a methodology that makes testing the central part of the design process - before writing code developers decide upon the conditions that code must meet to pass a test. The end goal is to help the readers understand the importance and process of using TDD as a part of development.

This book starts with the details about test-driven development, its importance, need, and benefits. Later the book introduces popular tools and frameworks like YUI, Karma, QUnit, DalekJS, JsUnit and goes on to utilize Jasmine, Mocha, Karma for advanced concepts like feature detection, server-side testing, and patterns. We are going to understand, write, and run tests, and further debug our programs. The book concludes with best practices in JavaScript testing. By the end of the book, the readers will know why they should test, how to do it most efficiently, and will have a number of versatile tests (and methods for devising new tests) to get to work immediately.




5 5 2

Similar Books


Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Christian Johansen

For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Chri...

Price:  $10.29  |  Publisher:  Addison-Wesley  |  Release:  2010

Test-Driven iOS Development with Swift

Test-Driven iOS Development with Swift

by Dr. Dominik Hauser

Test-driven development (TDD) is a proven way to find software bugs early. Writing tests before your code improves the structure and maintainability of your app.Test-driven iOS Development with Swift will help you understand the process of TDD and how it impacts your applications written in Swift. Through practical, real-world examples, y...

Price:  $39.99  |  Free ebook  |  Publisher:  Packt Publishing  |  Release:  2016

Test-Driven iOS Development

Test-Driven iOS Development

by Graham Lee

As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Development is the first book 100% focused on...

Price:  $3.99  |  Publisher:  Addison-Wesley  |  Release:  2012

AngularJS Test-driven Development

AngularJS Test-driven Development

by Tim Chaplin

Starting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2015

Lean-Agile Acceptance Test-Driven Development

Lean-Agile Acceptance Test-Driven Development

by Ken Pugh

Within the framework of Acceptance Test-Driven-Development (ATDD), customers, developers, and testers collaborate to create acceptance tests that thoroughly describe how software should work from the customer's viewpoint. By tightening the links between customers and agile teams, ATDD can significantly improve both software quality a...

Price:  $25.00  |  Publisher:  Addison-Wesley  |  Release:  2010

Test-Driven Java Development

Test-Driven Java Development

by Viktor Farcic, Alex Garcia

Test-driven development (TDD) is a development approach that relies on a test-first procedure that emphasises writing a test before writing the necessary code, and then refactoring the code to optimize itThe value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers,...

Price:  $49.33  |  Publisher:  Packt Publishing  |  Release:  2015

Test-Driven iOS Development with Swift, 4th Edition

Test-Driven iOS Development with Swift, 4th Edition

by Dr. Dominik Hauser

Test-driven development (TDD) is a proven way to find software bugs earlier on in software development. Writing tests before you code improves the structure and maintainability of your apps, and so using TDD in combination with Swift 5.5's improved syntax leaves you with no excuse for writing bad code.Developers working with iOS will...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2022

Test-Driven Development with Python

Test-Driven Development with Python

by Harry J.W. Percival

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass thos...

Price:  $3.02  |  Publisher:  O'Reilly Media  |  Release:  2014