Minecraft Adventures B2G1 Free

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Original Essays | August 28, 2015

    Sara Jaffe: IMG Summer Friction

    I was crying or almost crying for most of Fun Home: The Musical — I already loved Alison Bechdel's graphic novel, and I've always been a... Continue »
    1. $10.47 Sale Trade Paper add to wish list


      Sara Jaffe 9781941040133

Qualifying orders ship free.
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
4 Remote Warehouse Computer Languages- CGI

Test-Driven JavaScript Development (Developer's Library)


Test-Driven JavaScript Development (Developer's Library) Cover


Synopses & Reviews

Publisher Comments:

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.

Book News Annotation:

Johansen, a JavaScript and front-end web developer, presents this guide to test-driven-development for the popular Javascript web application language. JavaScript, once used mostly in small scripts that provided extra interactivity to websites created mainly in HTML and CSS, is now used in much more complex applications often providing the primary functionality of a site. As such the author believes that the "best practice" of test-based-development should be applied to JavaScript programming creating a solid and tested core of code that can be easily improved and updated without fear of breaking functionality. The work contains numerous code examples, all of which, along with other supplemental materials, are available on a companion website. Annotation ©2010 Book News, Inc., Portland, OR (booknews.com)

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.

Table of Contents



Part I: Test-Driven Development

Chapter 1: Automated Testing

Chapter 2: The Test Driven Development Process

Chapter 3: Tools of the Trade

Chapter 4: Test to Learn


Part II: JavaScript for Programmers

Chapter 5: Functions

Chapter 6: Applied Functions and Closures

Chapter 7: Objects and Prototypal Inheritance

Chapter 8: ECMAScript 5th Edition

Chapter 9: Unobtrusive JavaScript

Chapter 10: Feature Detection


Part III: Real-World Test Driven Development in JavaScript

Chapter 11: The Observer Pattern

Chapter 12: Abstracting Browser Differences: Ajax

Chapter 13: Streaming Data With Ajax and Comet

Chapter 14: Server-Side JavaScript With Node.js

Chapter 15: TDD and DOM Manipulation: The Chat Client


Part IV: Testing Patterns

Chapter 16: Mocking and Stubbing

Chapter 17: Writing Good Unit Tests



Product Details

Johansen, Christian
Addison-Wesley Professional
Programming Languages - JavaScript
Programming Languages - CGI, Javascript, Perl, VBScript
Computer Languages-CGI
Edition Description:
Trade paper
Developer's Library
Publication Date:
September 2010
Grade Level:
8.9 x 7 x 1.3 in 848 gr

Related Subjects

Computers and Internet » Computer Languages » Javascript
Computers and Internet » Internet » JavaScript
Computers and Internet » Software Engineering » General
Science and Mathematics » Environmental Studies » General

Test-Driven JavaScript Development (Developer's Library) New Trade Paper
0 stars - 0 reviews
$59.99 In Stock
Product details 600 pages Addison-Wesley Professional - English 9780321683915 Reviews:
  • back to top


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.