Test-Driving JavaScript Applications (Rapid, Confident, Maintainable Code)

ISBN: 9781680501742
List Price $38.00 Up to % OFF

FREE Ground Shipping in US

Expect Delivery in 4-10 weekdays

Brand New Books

Lock in your price today! Prices tomorrow are NOT GUARANTEED.
$38.00
List Price
Your Price Per Book
Discount
Total for copies: Save

Found a lower price on another site? Request a Price Match

Minimum Order: 25 copies per title

true
Select QTYQuantity:
Quantity
Price
Discount

Minimum Order $100 / 25 copies per title, no exceptions

Not ready to place your order?

Prices change daily. Order now!

Need A Quote?  Request a quote

$38.00
SKU:
9781680501742
Minimum Purchase:
25 units
Bulk Pricing:
Buy in bulk and save

Minimum Order: 25 copies per title

true

Overview

Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change.

Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code.

Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers.

Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together.

Don't just imagine creating testable code, write it.

What You Need:

A computer with a text editor and your favorite browser. The book provides instructions to install the necessary automated testing-related tools.

While major retailers like Amazon may carry Test-Driving JavaScript Applications (Rapid, Confident, Maintainable Code), we specialize in bulk book sales and offer personalized service from our friendly, book-smart team based in Portland, Oregon. We’re proud to offer a Price Match Guarantee and a streamlined ordering experience from people who truly care.

We’re trusted by over 75,000 customers, many of whom return time and again. Want proof? Just check out our 25,000+ customer reviews—real feedback from people who love how we do business.

Prefer to talk to a real person? Our Book Specialists are here Monday–Friday, 8 a.m. to 5 p.m. PST and ready to help with your bulk order of Test-Driving JavaScript Applications (Rapid, Confident, Maintainable Code).

Product Details

Author:
Venkat Subramaniam
Format:
Paperback
Pages:
364
Publisher:
The Pragmatic Programmers (November 15, 2016)
Imprint:
Pragmatic Bookshelf
Language:
English
ISBN-13:
9781680501742
ISBN-10:
1680501747
Weight:
22.08oz
Dimensions:
7.5" x 9.25"
File:
TWO RIVERS-PERSEUS-Metadata_Only_Perseus_Distribution_Customer_Group_Metadata_20250428160533-20250428.xml
Folder:
TWO RIVERS
List Price:
$38.00
Country of Origin:
United States
Pub Discount:
35
Case Pack:
11
As low as:
$33.44
Publisher Identifier:
P-PER
Discount Code:
H

Ordering Details

  • Product Availability: Typically, all books are in stock and ready to ship. If a title becomes unavailable unexpectedly, you will be contacted with 24 business hours.
  • Standard Shipping: FREE Shipping via ground transportation within the continental United States.
  • Estimated Delivery: Most orders deliver within 4-10 business days from order date (excluding weekends and holidays). Orders shipping to Alaska or Hawaii should allow a minimum of 3 weeks for delivery.
  • Rush Shipping: Deliver in 5 business days from order date (excluding weekends and holidays).
  • Important Note: Books ship from various warehouses and may receive multiple cartons to fill the complete order. Do not assume your order is shipping from Portland, OR.
  • Payment Terms: Visa, MC, Amex, PayPal, Purchase Orders and P-Cards can be used to purchase online. Check and wire-transfer payments are available offline through Customer Service