Testable JavaScript - Trostler, Mark Ethan

Testable JavaScript

Trostler, Mark Ethan

出版社

出版时间

2013-01-01

ISBN

9781449323394

评分

★★★★★
书籍介绍

That's right: JavaScript code is testable, despite the lack of unit test standards for this language. With this book, you'll discover how to devise excellent tests and real-world testing plans for your existing JavaScript code. Developers starting out on a new project will greatly benefit from these guidelines. Testing a language that runs within many different implementations and environments is inherently difficult - and since most JavaScript environments are UI-based, automated testing becomes even more difficult. This guide shows developers and their managers how to overcome these problems to test JavaScript code efficiently. Topics include: Which types of Javascript testing are most effective When and why should you run tests on Javascript code Code patterns and anti-patterns that promote and inhibit Javascript testing Integrating unit tests with your development and build environments (automated test running and reporting) Code coverage: how to get it, interpret it, and automatically generate it

Mark Ethan Trostler,有超过20年编写和测试代码的经验。拥有加州大学圣地亚哥分校的计算机科学/哲学双学位,曾就职于创业公司(IPivot)和大公司(高通、英特尔、Redback Networks、Juniper Networks、Yahoo!、目前在谷歌),Mark一直致力于提高代码质量。之前在Yahoo! Mail团队任职高级首席前端工程师,他对Yahoo! Mail最新改版中的先锋测试和质量控制提供了帮助。

用户评论
理论太多,实践太少,泛泛而谈不推荐。
不太对胃口,有点货,又不够多,水也不少
收藏