Test-Driven JavaScript Development (Developer's Library)
Author | : | |
Rating | : | 4.17 (768 Votes) |
Asin | : | 0321683919 |
Format Type | : | paperback |
Number of Pages | : | 600 Pages |
Publish Date | : | 2018-01-18 |
Language | : | English |
DESCRIPTION:
P. Hodgson said A great source for modern Javascript practices. 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 imp. An excellent read for fledgling and experienced js-developers alike 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 avoi. Good JavaScript Book 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 integra
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. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Throughout, he addresses crucial issues ranging from code design to performance optimization, offering realistic solutions for developers, QA specialists, and testers. For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. 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 functio
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. “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
A frequent open source contributor, he blogs about JavaScript, Ruby, and Web development at cjohansen. 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. . Christian Johansen works for Shortcut AS, a software company focusing on open source technology, Web, and mobile applications