- 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
- Android項(xiàng)目開發(fā)入門教程
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- Scala Design Patterns
- 深入淺出Windows API程序設(shè)計(jì):編程基礎(chǔ)篇
- Yocto for Raspberry Pi
- Elasticsearch for Hadoop
- Swift語言實(shí)戰(zhàn)精講
- Teaching with Google Classroom
- JavaCAPS基礎(chǔ)、應(yīng)用與案例
- Building Android UIs with Custom Views
- Python Essentials
- Scratch·愛編程的藝術(shù)家
- Unity Character Animation with Mecanim
- 實(shí)驗(yàn)編程:PsychoPy從入門到精通
- Python數(shù)據(jù)科學(xué)實(shí)踐指南