Testable JavaScript and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
Trade in Yours
For a £2.93 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Testable JavaScript on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Testable JavaScript [Paperback]

Mark Ethan Trostler

Price: £22.50 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 11 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 19 Sep.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £17.50  
Paperback £22.50  
Trade In this Item for up to £2.93
Trade in Testable JavaScript for an Amazon Gift Card of up to £2.93, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

3 Feb 2013 1449323391 978-1449323394 1

One skill that’s 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 you’re creating a new application or rewriting legacy code.

From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, you’ll 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

Frequently Bought Together

Testable JavaScript + JavaScript: The Good Parts + AngularJS
Price For All Three: £49.32

Buy the selected items together
  • JavaScript: The Good Parts £15.63
  • AngularJS £11.19

Product details

More About the Author

Discover books, learn about writers, and more.

Product Description

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).

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.2 out of 5 stars  13 reviews
7 of 8 people found the following review helpful
2.0 out of 5 stars Covers a wide range of topics with little depth 24 Feb 2014
By noob1211 - Published on Amazon.com
Format:Paperback|Verified Purchase
Please don't waste you're money on this book. It really isn't worth your time. Sure the author has a great index of topics, just take a glimpse of the topics in the index. One would expect a book to be worthy of a read, but it was an entire let down. The author does a horrible job explaining how to write good unit tests. And one of the examples he gives isn't even practical(i.e. add(a,b))...come on...! What a waste of time, and energy. I've rated this book 2 stars because you can find better material online for free about the same topics. This book should be called, "Tips for Testable Javascript"...because thats all it is....
4 of 5 people found the following review helpful
5.0 out of 5 stars Very Helpful 6 Mar 2013
By J. Meador - Published on Amazon.com
This book really helped me understand the link between my code and testing it. It has lots of good examples, especially about code coverage, that I was able to use when testing my app. The 'Automation' chapter did a good job of pulling it all together even though I don't use Hudson I was still able to use most of the tips to automate my tests during builds. The book was also very informative in showing how to keep the code simple,i.e. single function, single value, and integrating the development and test activities into an Agile environment.
I would have liked to read more about testable patterns but the book did a good job of going over all the basics (& some not-so basics). Definitely recommended for JS developers and anyone else who tests JS.
1 of 1 people found the following review helpful
2.0 out of 5 stars Not for pros; not for beginners 28 April 2014
By Inanc Gumus - Published on Amazon.com
Format:Kindle Edition|Verified Purchase
You can learn anything in this book from a simple Google search. It is a duplicate information. Don't read this.
4 of 6 people found the following review helpful
4.0 out of 5 stars great Book 11 Mar 2013
By yoni felberg - Published on Amazon.com
Format:Paperback|Verified Purchase
i like it because it takes the approach of how to write your code so it can be tested easy and not just
how to write tests.
i just hoped it had more complex examples like handling tests in specific javascript patterns like modules and others.
but it is a valuable book any way......
4.0 out of 5 stars Lots of good information, not well written 2 May 2014
By Ash - Published on Amazon.com
Format:Paperback|Verified Purchase
There is a lot in this book, but sifting through it to extract the useful information from the somewhat poor writing style is a tedious exercise. I give this 4 stars just because of the amount of resources it has pointed me to.
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category