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

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.

主站蜘蛛池模板: 罗定市| 儋州市| 巴彦淖尔市| 万盛区| 德昌县| 海原县| 吉首市| 册亨县| 卢氏县| 浏阳市| 吉安县| 乌拉特前旗| 通河县| 修武县| 正镶白旗| 句容市| 奉节县| 高雄县| 遵义县| 刚察县| 环江| 寿宁县| 仲巴县| 涞源县| 肥城市| 武陟县| 樟树市| 鸡泽县| 昭苏县| 青海省| 赤城县| 沙河市| 寿光市| 寻甸| 新津县| 萍乡市| 定远县| 清苑县| 鹿泉市| 云浮市| 鄂尔多斯市|