订阅RSS
现在的位置: 首页英文图书, 软件>正文
JavaScript Testing with Jasmine
图书分类:英文图书, 软件 评论数 2 ⁄ 被围观 442 次阅读+

JavaScript Testing with JasmineBook Description

Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write.

Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you’ll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won’t find a more in-depth source for Jasmine anywhere.
Get an overview of both test-driven and behavior-driven development
Write useful specs by determining what you need to test—and what you don’t
Test the behavior of new and existing code against the specs you create
Apply Jasmine matchers and discover how to build your own
Organize code suites into groups and subgroups as your code becomes more complex
Use a Jasmine spy in place of a function or an object—and learn why it’s valuable

Table of Contents
Chapter 1. Intro to Testing
Chapter 2. Jasmine
Chapter 3. Writing Good Tests
Chapter 4. Matchers in Depth
Chapter 5. More Jasmine Features
Chapter 6. Spies
Chapter 7. Using Jasmine with Other Tools
Chapter 8. Reference

Book Details
Paperback: 52 pages
Publisher: O’Reilly Media (March 2013)
Language: English
ISBN-10: 1449356370
ISBN-13: 978-1449356378



说点什么

2 评论 在 "JavaScript Testing with Jasmine"

avatar
  Subscribe  
提醒
新用户091265
游客

恩,上网是必须的,不过流量很省

新用户091265
游客

恩,上网是必须的,不过流量很省