- Test-Driven JavaScript Development
- Ravi Kumar Gupta Hetal Prajapati Harmeet Singh
- 149字
- 2021-07-30 09:59:10
Chapter 2. Testing Concepts
There are a number of ways and methods to test software quality. TDD is focused on testing the small pieces of code using unit tests. Unit tests play a big and important role in TDD irrespective of the programming language. While learning TDD, it is essential to understand unit testing and testing frameworks. In the previous chapter, you learned about the life cycle of TDD. Now with examples, we will see how each step of the life cycle is executed. For this chapter, we will try to showcase examples using YUI (short for Yahoo User Interface) because of its simplicity and easy-to-understand functions.
In this chapter, you will learn about unit testing, a little about frameworks, how a test is written, actions, and assertions in unit tests. In this chapter, you will learn the following:
- Unit testing
- Following the process
- Benefits and pitfalls
- The Complete Rust Programming Reference Guide
- Learning Apex Programming
- Mastering Ember.js
- Instant Zepto.js
- HTML5 移動Web開發從入門到精通(微課精編版)
- Learning SQLite for iOS
- Python面向對象編程:構建游戲和GUI
- C語言程序設計
- 深入理解Elasticsearch(原書第3版)
- 深入分布式緩存:從原理到實踐
- Mastering Business Intelligence with MicroStrategy
- Linux Shell核心編程指南
- 小程序,巧應用:微信小程序開發實戰(第2版)
- Learning Modular Java Programming
- Visual Basic程序設計基礎