25 Books to Read Before You Die
 
 

Recently Viewed clear list


The Powell's Playlist | August 6, 2014

Graham Joyce: IMG The Powell’s Playlist: Graham Joyce



The Ghost in the Electric Blue Suit is set on the English coast in the hot summer of 1976, so the music in this playlist is pretty much all from the... Continue »
  1. $17.47 Sale Hardcover add to wish list

spacer
Qualifying orders ship free.
$29.99
List price: $34.99
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
Qty Store Section
1 Burnside - Bldg. 2 Computer Languages- Javascript

More copies of this ISBN

Testable JavaScript

by

Testable JavaScript Cover

 

Synopses & Reviews

Publisher Comments:

One skill thats essential for any professional JavaScript developer is the ability to write testable code. This book shows you what writing and maintaining testable JavaScript for the client- or server-side actually entails, whether youre creating a new application or rewriting legacy code.

From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, youll learn a holistic approach for writing JavaScript code that you and your colleagues can easily fix and maintain going forward. Testing JavaScript code is complicated. This book helps experienced JavaScript developers simply the process considerably.

  • Get an overview of Agile, test-driven development, and behavior-driven development
  • Use patterns from static languages and standards-based JavaScript to reduce code complexity
  • Learn the advantages of event-based architectures, including modularity, loose coupling, and reusability
  • Explore tools for writing and running unit tests at the functional and application level
  • Generate code coverage to measure the scope and effectiveness of your tests
  • Conduct integration, performance, and load testing, using Selenium or CasperJS
  • Use tools for in-browser, Node.js, mobile, and production debugging
  • Understand what, when, and how to automate your development processes

Synopsis:

Thats right: JavaScript code is testable, despite the lack of unit test standards for this language. With this book, youll discover how to devise excellent tests and real-world testing plans for your existing JavaScript code. Developers starting out on a new project will greatly benefit from these guidelines.

Testing a language that runs within many different implementations and environments is inherently difficult—and since most JavaScript environments are UI-based, automated testing becomes even more difficult. This guide shows developers and their managers how to overcome these problems to test JavaScript code efficiently.

Topics include:

  • Which types of Javascript testing are most effective
  • When and why should you run tests on Javascript code
  • Code patterns and anti-patterns that promote and inhibit Javascript testing
  • Integrating unit tests with your development and build environments (automated test running and reporting)
  • Code coverage: how to get it, interpret it, and automatically generate it

About the Author

Mark Ethan Trostler has been writing and testing code for more than 20 years at startups (IPivot) and large corporations (Qualcomm, Intel, Redback Networks, Juniper Networks, Yahoo, and currently Google). Previously, as a Senior Principal Front End Engineer on the Yahoo! Mail team, he helped spearhead testing and quality for the latest rewrite of Yahoo! Mail. He's currently employed by Google as a Software Engineer in Test with the Ads team helping to ensure an excellent experience for their customers. He's spoken at several internal and external conferences (Yahoo TechPulse 2010 and 2011, Yahoo's Front End Summit, and at YUIConf 2011) about Testable Javascript and is the author of the Open Source Javascript Unit Test Environment (https://github.com/zzo/JUTE).

Table of Contents

DedicationPrefaceChapter 1: Testable JavaScriptChapter 2: ComplexityChapter 3: Event-Based ArchitecturesChapter 4: Unit TestsChapter 5: Code CoverageChapter 6: Integration, Performance, and Load TestingChapter 7: DebuggingChapter 8: AutomationColophon

Product Details

ISBN:
9781449323394
Author:
Trostler, Mark Ethan
Publisher:
O'Reilly Media
Subject:
build environment;code patterns;development environment;javascript;patterns;testing;unit tests
Subject:
CourseSmart Subject Description
Copyright:
Edition Description:
Print PDF
Publication Date:
20130231
Binding:
TRADE PAPER
Language:
English
Pages:
274
Dimensions:
9.19 x 7 in

Related Subjects

Computers and Internet » Computer Languages » Javascript
Computers and Internet » Internet » JavaScript
Computers and Internet » Internet » Web » Web Programming
Engineering » Engineering » General Engineering

Testable JavaScript New Trade Paper
0 stars - 0 reviews
$29.99 In Stock
Product details 274 pages O'Reilly Media - English 9781449323394 Reviews:
"Synopsis" by ,

Thats right: JavaScript code is testable, despite the lack of unit test standards for this language. With this book, youll discover how to devise excellent tests and real-world testing plans for your existing JavaScript code. Developers starting out on a new project will greatly benefit from these guidelines.

Testing a language that runs within many different implementations and environments is inherently difficult—and since most JavaScript environments are UI-based, automated testing becomes even more difficult. This guide shows developers and their managers how to overcome these problems to test JavaScript code efficiently.

Topics include:

  • Which types of Javascript testing are most effective
  • When and why should you run tests on Javascript code
  • Code patterns and anti-patterns that promote and inhibit Javascript testing
  • Integrating unit tests with your development and build environments (automated test running and reporting)
  • Code coverage: how to get it, interpret it, and automatically generate it

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.