Test-Driven JavaScript Development (Developer's Library) and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £12.65 Amazon.co.uk Gift Card
Test Driven JavaScript Development (Developer's Library)
 
 
Start reading Test-Driven JavaScript Development (Developer's Library) on your Kindle in under a minute.

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

Test Driven JavaScript Development (Developer's Library) [Paperback]

Christian Johansen
3.5 out of 5 stars  See all reviews (2 customer reviews)
RRP: £36.99
Price: £31.44 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £5.55 (15%)
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
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 10 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £20.03  
Paperback £31.44  
Trade In this Item for up to £12.65
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Test Driven JavaScript Development (Developer's Library) for an Amazon.co.uk gift card of up to £12.65, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Test Driven JavaScript Development (Developer's Library) + JavaScript Patterns + JavaScript: The Good Parts
Price For All Three: £64.08

Show availability and delivery details

Buy the selected items together
  • In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • JavaScript Patterns £14.94

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • JavaScript: The Good Parts £17.70

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions


Customers Who Bought This Item Also Bought


Product details

  • Paperback: 600 pages
  • Publisher: Addison Wesley; 1 edition (9 Sep 2010)
  • Language English
  • ISBN-10: 0321683919
  • ISBN-13: 978-0321683915
  • Product Dimensions: 22.8 x 17.9 x 2.7 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 27,278 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Christian Johansen
Discover books, learn about writers, and more.

Visit Amazon's Christian Johansen Page

Product Description

Review

“A simplified and well-explained book about one of the most underestimated parts of any application life-cycle. Christian Johansen brings real world examples, simple to advanced, and a useful library together in one place. I couldn’t expect more from Test-Driven JavaScript Development. Excellent learning and definitively easy to read.”

—Andrea Giammarchi, lead developer, NOKIA Gate 5 GmbH

 

“A great mix of theory and practical examples makes this a good read for both newcomers to JavaScript/TDD and seasoned JavaScripters wanting to add to their skill set.”

—Jacob Seidelin, freelance web developer, Nihilogic

Product Description

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 Christian Johansen covers all aspects of applying state-of-the-art automated testing in JavaScript environments, walking readers through the entire development lifecycle, from project launch to application deployment, and beyond.

Using real-life examples driven by unit tests, Johansen shows how to use TDD to gain greater confidence in your code base, so you can fearlessly refactor and build more robust, maintainable, and reliable JavaScript code at lower cost. Throughout, he addresses crucial issues ranging from code design to performance optimization, offering realistic solutions for developers, QA specialists, and testers.

Coverage includes
•    Understanding automated testing and TDD
•    Building effective automated testing workflows
•    Testing code for both browsers and servers (using Node.js)
•    Using TDD to build cleaner APIs, better modularized code, and more robust software
•    Writing testable code
•    Using test stubs and mocks to test units in isolation
•    Continuously improving code through refactoring
•    Walking through the construction and automated testing of fully functional software

The accompanying Web site, tddjs.com, contains all of the book’s code listings and additional resources.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
Format:Paperback
I rate this book highly only in relation to a lot of other javascript books, by which I mean it contains information that is more technical and in-depth than most other javascript books, however it does feel slightly rushed, and the clarity suffers a little, simple diagrams may have helped for example in discussion of things like scope in relation to anonymous function objects, but that said it is easily worth the money
Comment | 
Was this review helpful to you?
2 of 6 people found the following review helpful
Format:Paperback
The pros:

Chapter 1 is all you really have to read to understand the basic history and standard approach to unit testing for javascript. I have been programming javascript for over 10 years, but never done any unit testing before and having read this it is all clear to me now. So thankyou very much for clarifying these to me :-)

It gives some good tips on explaining the different types of unit testing frameworks. You can do unit testing manually in the browser by creating your own custom javascript unit testing functionality, or using an application that prints to a console to save you having to refresh the browser on every test. It gives you good tips on popular frameworks and provides a repository online with tutorials to get you started with a portable standardized application called jsTestDriver. I have been enjoying using this to test in all browsers at the push of one button.

There are further tips on explaining standard approaches to tackle common problems like stubbing and mocking.

The Cons:

The rest of the book also provides some heavy weight javascript concepts, but I don't feel this is for the amateur javascripter. Also these concepts are better explained in other books like - Javascript Design Patterns and High Performance Javascript. They seem repeated here, but I'm not sure, by the way of examples who this is aimed at. Certainly not amateur javascripters or programmers. The rest of the examples in this book I have found to be a bit heavy and require unnecessary thinking to grasp the important concepts. A lot of the examples, although well explained, are a bit overly complex and lack simplicity.

So about 15% of this book is very valuable. Chapter 1, excellent. The rest, I feel is too heavy and unnecessary.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  17 reviews
12 of 12 people found the following review helpful
A great source for modern Javascript practices 9 Mar 2011
By P. Hodgson - Published on Amazon.com
Format:Paperback
I initially picked this up hoping to learn some stuff about the mechanics of unit-testing in javascript, and maybe some stuff about how to organize your javascript in a testable way. I was very pleasantly surprised to find a book which covers way more.

You'll learn about the fundamentals of modern functional javascript. You'll discover that it's not class-based OO and that functions, closures and object literals are your building blocks.

You'll see some neat, slightly mind-bending way of implementing things. A tiny example - why not keep track of whether a stub function has been called by just setting a bool on the stub function itself!

Most of all, you'll see that it's very feasible to develop real grown-up software using a true test-driven-DESIGN approach using javascript. You'll also get the benefit of being walked through a load of deep, hands-on practical examples covering both server-side JS, client-side DOM-based JS. This material can be pretty dense; I expect to re-read most of the book again at some point.
14 of 16 people found the following review helpful
So far so good 25 Nov 2010
By George Jempty - Published on Amazon.com
Format:Paperback
Unlike the first reviewer I've actually begun reading this book. Based on the first 2.5 chapters I can tell you without reservation that this author is quite knowledgeable about both Javascript and Test-driven development (TDD). Not only is the book technically excellent in this regard, but the author is also not afraid to state his opinion and challenge conventional wisdom, for instance when addressing the oft-misunderstood issue of temporarily hard-coding data to make tests pass. Furthermore, if you have comments or questions about the book in other online forums such as a blog, the author is very quick to respond. Addendum: having pretty much completed the entire book I will add, there is much excellent introductory material regarding Ecmascript 5 included.
7 of 7 people found the following review helpful
Good JavaScript Book 3 Dec 2010
By Jim McGaw - Published on Amazon.com
Format:Paperback
I'm a Django web developer, and like most of us, the unit test coverage for my projects ends where the client-side code begins. I found this book to be extremely useful in teaching how to create tests for JavaScript. The book uses JsTestDriver, which I had never heard of before the book, but is an amazing cross-browser test runner.

The book is written in three parts. The first is an overview of TDD, the second covers JavaScript as a programming language, and third talks about how to integrate JavaScript testing into a project. The first part is short, and the third is, naturally, the meat of the book. The second part, which introduces JavaScript, seems superfluous given the intended audience. It's a good refresher, but the third part builds upon the second one, so part two can't be skipped. It would have been great if the second and third parts would have been more decoupled.

Besides that, is there any web developer that wouldn't benefit from learning how to treat JavaScript as a real soup-to-nuts programming language?
Search Customer Reviews
Only search this product's reviews

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges