- Test-Driven JavaScript Development
- Ravi Kumar Gupta Hetal Prajapati Harmeet Singh
- 158字
- 2021-07-30 09:59:12
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
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- .NET 4.0面向?qū)ο缶幊搪劊夯A(chǔ)篇
- 深入實(shí)踐Spring Boot
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- C語言程序設(shè)計(jì)
- R Deep Learning Cookbook
- UVM實(shí)戰(zhàn)
- Learning OpenStack Networking(Neutron)(Second Edition)
- Mastering Xamarin.Forms(Second Edition)
- 常用工具軟件立體化教程(微課版)
- JBoss:Developer's Guide
- IoT Projects with Bluetooth Low Energy
- RESTful Web API Design with Node.js(Second Edition)
- Raspberry Pi Robotic Projects
- ASP.NET Core 2 High Performance(Second Edition)