Programming Books C Java PHP Python Learn more Browse Programming Books
Test-Driven JavaScript Development (Developer's Library) and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $54.99
  • Save: $35.97 (65%)
Rented from RentU
To Rent, select Shipping State from options above
Due Date: Dec 21, 2014
FREE return shipping at the end of the semester. Access codes and supplements are not guaranteed with rentals.
FREE Shipping on orders over $35.
Used: Good | Details
Sold by RentU
Condition: Used: Good
Comment: Fast shipping from Amazon! Qualifies for Prime Shipping and FREE standard shipping for orders over $35. Overnight, 2 day and International shipping available! Excellent Customer Service.. May not include supplements such as CD, access code or DVD.
Access codes and supplements are not guaranteed with used items.
Add to Cart
Qty:1
  • List Price: $54.99
  • Save: $18.39 (33%)
Only 8 left in stock (more on the way).
Ships from and sold by Amazon.com.
Gift-wrap available.
Add to Cart
Trade in your item
Get a $5.51
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Test-Driven JavaScript Development (Developer's Library) Paperback – September 19, 2010

ISBN-13: 978-0321683915 ISBN-10: 0321683919 Edition: 1st

Buy New
Price: $36.60
Rent
Price: $19.02
30 New from $29.97 28 Used from $15.66
Amazon Price New from Used from
eTextbook
"Please retry"
Paperback
"Please retry"
$36.60
$29.97 $15.66

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



Frequently Bought Together

Test-Driven JavaScript Development (Developer's Library) + JavaScript: The Good Parts + JavaScript Patterns
Price for all three: $73.99

Buy the selected items together
  • JavaScript: The Good Parts $17.39
  • JavaScript Patterns $20.00

NO_CONTENT_IN_FEATURE

Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Series: Developer's Library
  • Paperback: 600 pages
  • Publisher: Addison-Wesley Professional; 1 edition (September 19, 2010)
  • Language: English
  • ISBN-10: 0321683919
  • ISBN-13: 978-0321683915
  • Product Dimensions: 9.1 x 7.1 x 1.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (20 customer reviews)
  • Amazon Best Sellers Rank: #214,905 in Books (See Top 100 in Books)

Editorial Reviews

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

About the Author

Christian Johansen works for Shortcut AS, a software company focusing on open source technology, Web, and mobile applications. Originally a student in informatics, mathematics, and digital signal processing, he has spent his professional career specializing in Web and front-end development with technologies such as JavaScript, CSS, and HTML. A frequent open source contributor, he blogs about JavaScript, Ruby, and Web development at cjohansen.no.

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.0 out of 5 stars
5 star
11
4 star
5
3 star
1
2 star
0
1 star
3
See all 20 customer reviews
As well, it suggests several options for testing tools and frameworks.
C. Flanigan
I highly recommend this book for anyone curious about Test Driven Development, Unit Testing or wishing to better understand and improve their Javascript.
Larry Battle
If you're new to the language, this is the best way to avoid all the outdated advice that plagues many of the other javascript-books.
Magnar Sveen

Most Helpful Customer Reviews

14 of 14 people found the following review helpful By P. Hodgson on March 9, 2011
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
16 of 18 people found the following review helpful By George Jempty on November 25, 2010
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.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 9 people found the following review helpful By Jim McGaw on December 3, 2010
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?
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By Magnar Sveen on May 13, 2011
Format: Paperback Verified Purchase
Let's be frank: Even if you're not that into test-driven development, this is the book you want.

In this book, Christian displays stunning prowess with the JavaScript language, and he's more than willing to share. You'll learn the intricacies of the language, see best practices for working with the dom, code reuse and object oriented design, functional programming, server-side scripting, and everything done in a test driven fashion.

If you're new to the language, this is the best way to avoid all the outdated advice that plagues many of the other javascript-books. If you're a jQuery ninja, this is your chance to learn that JavaScript has a lot more to offer. And even if you're already a JavaScript expert, I guarantee you'll find a few new useful tricks either way.

And let's not forget: At the end, you'll definitely be into TDD too.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Larry Battle on August 27, 2011
Format: Paperback Verified Purchase
I bought this book to get a deeper understanding of Javascript and to figure out what TDD (Test Driven Development) was. After finishing this book in 2 weeks, I feel that my goals have been accomplished.

Christian Johansen did a excellent job writing Test Driven Javascript Development.
The overall structure is well organized, the code is easy to read with concise explanations and examples are plentiful.

The first part of the book gives you a general overview of TDD and unit testing and code quality tools.
Afterwards, you move on to learning about the basic, advance and future elements of Javascript. Example topics include function creation, binding, different ways to perform inheritance, closure, and ECMAScript 5.

Lastly, the rest of the book is dedicated towards getting you into the mindset of a TDD developer by building small web applications with the author. This means that each section go like this.

Write a test case.
Watch it fail.
Program it to pass.
Re-factor.

I found it amazing what you can do with the Assert, Stub, Mock and Spy functions.

One thing that I've been noticing is that writing test cases takes a LONG time when you first start out as beginner.
Also, I found it hard to avoid testing implementation rather than states and behaviors. But I guess making good test cases comes with experience.

One problem that I faced was that jsTestDriver (the preferred unit testing framework through the book) doesn't work well with jQuery plug-ins. So I ditched it and went with SINON.JS + QUNIT.js. Ever since then I haven't had any problems writing and testing test cases.

I highly recommend this book for anyone curious about Test Driven Development, Unit Testing or wishing to better understand and improve their Javascript.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews

Search

What Other Items Do Customers Buy After Viewing This Item?