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

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.

主站蜘蛛池模板: 平远县| 沙雅县| 连江县| 肇庆市| 伊宁市| 通许县| 鹤峰县| 米脂县| 永丰县| 万山特区| 五常市| 巨野县| 炉霍县| 澄城县| 黔西| 清徐县| 富裕县| 赣榆县| 桃源县| 大渡口区| 互助| 紫阳县| 栾川县| 霸州市| 怀来县| 恭城| 安化县| 玉田县| 峡江县| 平定县| 荣成市| 肇东市| 东乡族自治县| 故城县| 盐边县| 航空| 肇源县| 合阳县| 大宁县| 宁陵县| 玉屏|