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

Chapter 3. Testing Tools

There are so many tools and frameworks available in the market to perform unit testing for any logical JavaScript code. It's necessary that we understand the way these tools work, since it's important to identify a good fit for a project. Though it's not possible to explain all the tools in one chapter or a book, yet some popular tools are included in this chapter. We can write tests with the usage of some test framework and just run them in the browser, on some static page. But for automation, when we use Jenkins (or other tools for continuous integration), we need some tool that can run our tests automatically such as Karma, PhantomJS, and many more. Each of these tools are explained in three subtopics like setup, writing tests, and running tests.

We will be covering the following testing frameworks and tools in this chapter:

  • JsUnit
  • QUnit
  • Karma with Jasmine
  • DalekJS
主站蜘蛛池模板: 和顺县| 吐鲁番市| 白河县| 久治县| 普陀区| 河津市| 永嘉县| 略阳县| 石泉县| 绿春县| 阜新市| 绍兴市| 太白县| 琼结县| 峨边| 枣强县| 和龙市| 瑞金市| 阜新市| 澄江县| 丰台区| 无为县| 故城县| 中山市| 启东市| 乃东县| 灌南县| 合水县| 鱼台县| 颍上县| 喀什市| 商城县| 闻喜县| 禹城市| 阜新| 临沂市| 九台市| 永仁县| 长海县| 三台县| 宜兰县|