Автор: Mark Ethan Trostler
Название: Testable jаvascript: Ensuring Reliable Code
Издательство: O'Reilly Media
Год: 2013
ISBN: 9781449323394
Язык: English
Формат: pdf
Размер: 18,7 mb
Страниц: 274
From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, you’ll learn a holistic approach for writing jаvascript code that you and your colleagues can easily fix and maintain going forward. Testing jаvascript code is complicated. This book helps experienced jаvascript developers simply the process considerably.
– Get an overview of Agile, test-driven development, and behavior-driven development
– Use patterns from static languages and standards-based jаvascript to reduce code complexity
– Learn the advantages of event-based architectures, including modularity, loose coupling, and reusability
– Explore tools for writing and running unit tests at the functional and application level
– Generate code coverage to measure the scope and effectiveness of your tests
– Conduct integration, performance, and load testing, using Selenium or CasperJS
– Use tools for in-browser, Node.js, mobile, and production debugging
– Understand what, when, and how to automate your development processes