- 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
- 數據庫系統原理及MySQL應用教程(第2版)
- OpenStack Cloud Computing Cookbook(Third Edition)
- C語言程序設計案例教程
- C語言程序設計教程
- LabVIEW 2018 虛擬儀器程序設計
- 信息可視化的藝術:信息可視化在英國
- Learning ArcGIS Pro 2
- .NET 4.0面向對象編程漫談:基礎篇
- Internet of Things with Intel Galileo
- 用Flutter極速構建原生應用
- 匯編語言程序設計(第3版)
- Java軟件開發基礎
- Mastering Xamarin.Forms(Second Edition)
- 大學計算機基礎實訓教程
- Mastering Python