TestDriving JavaScript Applications: Rapid, Confident, Maintainable Code

TestDriving JavaScript Applications: Rapid, Confident, Maintainable Code

$45.96
Sale price  $45.96 Regular price  $45.96
Skip to product information
TestDriving JavaScript Applications: Rapid, Confident, Maintainable Code

TestDriving JavaScript Applications: Rapid, Confident, Maintainable Code

$45.96
Sale price  $45.96 Regular price  $45.96
SKU: DADAX1680501747
ISBN: 9781680501742
Publisher: OReilly Media
Availability: In Stock
Payment methods
  • American Express
  • Apple Pay
  • Diners Club
  • Discover
  • Google Pay
  • Mastercard
  • PayPal
  • Shop Pay
  • Visa

Sold by Ergodemedia, an authorized reseller of Authentic New & Used Books with Free US Shipping.

30-day returns by mail  ·  Refunded to original payment method  |  support@ergodemedia.com

✓ Verified
Shipping Information
  • Free Standard Shipping — United States only
  • Processing Time: 1–3 business days
  • Estimated Delivery: 3–5 business days after dispatch via USPS / UPS
  • Securely packed to ensure your book arrives in the described condition
  • Tracking number sent via email once dispatched
  • Taxes calculated at checkout. International shipping not available.
Returns & Refund

Returns accepted within 30 days of delivery. Returns are processed by mail. Refunds are issued to the original payment method within 5–7 business days of receiving the returned item.

Damaged, Defective or Misrepresented Item

Free return shipping by mail · Full refund to original payment method

Wrong Item Received

Free return shipping by mail · Full refund or replacement at your choice

Change of Mind

Return shipping at customer's expense · Book must be in the same condition as received · Refund to original payment method

All returns require a Return Authorization (RA) number before sending. Original shipping charges are non-refundable.

To initiate a return, contact us:

support@ergodemedia.com +1 832-802-7787
View Full Return & Refund Policy
Safety & Compliance
⚠️

California Proposition 65 Warning

Some products sold on this website may expose you to chemicals known to the State of California to cause cancer, birth defects, or other reproductive harm.

www.P65Warnings.ca.gov
📖

Book Condition & Care Notice

Used books are graded and described accurately — condition details are listed on each product page. Books may contain previous owner's handwriting, highlights, or stamps unless stated as new. Store books away from direct sunlight and moisture to preserve their condition.

New books are sealed or unread. Used books are inspected before dispatch.

ℹ️

Product Authenticity & Notice

All books sold by Ergodemedia are 100% authentic, sourced directly from publishers and trusted distributors. Book condition is accurately graded and described. Some books may contain previous owner's markings or inscriptions.

Ergodemedia — Authentic New & Used Books. Free US Shipping. Delivered to Your Door.

Description

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 thats 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, youll 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. Dont 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.

⚠️
Product Notice This book is sold in used condition unless explicitly stated as new. Condition is graded and described accurately. Some books may contain previous owner's markings, highlights, or inscriptions. This product may contain chemicals known to the State of California to cause cancer or reproductive harm. For more information visit www.P65Warnings.ca.gov

Shop The Full Collection

You may also like!