官术网_书友最值得收藏!

Summary

In this chapter, we introduced an application and test structure suitable for development, gathered the Mocha, Chai, and Sinon.JS libraries, and created some basic tests to get things started. Then, we reviewed some facets of the Mocha test reporter and watched various tests in action—passing, slow, timeouts, and failures.

In the next chapter, we will integrate a Backbone.js application as the target of our test framework and learn how to test, isolate, and verify program behavior throughout the course of application development.

主站蜘蛛池模板: 林甸县| 长岛县| 大邑县| 南华县| 上饶县| 富平县| 永定县| 浪卡子县| 四平市| 南丹县| 吴桥县| 偃师市| 宜丰县| 景谷| 蚌埠市| 化隆| 化德县| 藁城市| 富民县| 峨眉山市| 苍梧县| 安阳市| 调兵山市| 延川县| 江油市| 卓尼县| 灵川县| 靖安县| 吴忠市| 丁青县| 濉溪县| 临洮县| 大城县| 定安县| 浦县| 天镇县| 墨竹工卡县| 修文县| 临海市| 岑巩县| 宜兰市|