About the BookTest Driven JavaScript Development is the solution. This book walks through every facet of applying state-of-the-art, automated test-driven and behavior-driven testing techniques to JavaScript code. Christian Johansen covers the entire process of JavaScript development - from start to deployment - using real-life examples driven by unit tests every step of the way. He demonstrates how to use Test-Driven Development and Behavior-Driven Development principles to build more robust JavaScript applications from the ground up - and how to integrate JavaScript development with agile methods to write better code at lower cost. Through relevant, up-to-date examples, he addresses key issues ranging from code design to performance optimization. This is the only JavaScript testing book of its kind - and the only one web developers will ever need.For Sale in Indian subcontinent onlyFeaturesWhy automated testing is critical to JavaScript QA and code design - and how to implement it successfullyProven workflows, tools, and libraries for using TDD or BDD with JavaScriptCovers testing code for browsers, servers, Mozilla's Rhino, Greasemonkey, and Firefox extensionsShows how to use agile principles to build robust JavaScript software from the ground upContentsPART I. The Test-Driven Development ProcessAutomated TestingThe Test Driven Development ProcessTools of the TradeTest to LearnPART II. JavaScript for ProgrammersFunctionsApplied Functions and ClosuresObjects and Prototypal InheritanceECMAScript 5th EditionUnobtrusive JavaScriptFeature DetectionPART III. Real-World Test Driven DevelopmentThe Observer PatternAbstracting Browser Differences: AjaxStreaming Data With Ajax and CometComet on the Server: A Chat Back-endThe Client SidePART IV. Testing PatternsMocking and StubbingTesting Patterns and Best Practices