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

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
主站蜘蛛池模板: 保德县| 宜昌市| 汤阴县| 什邡市| 隆子县| 青阳县| 三门县| 南涧| 繁峙县| 祁阳县| 建平县| 成安县| 达州市| 界首市| 探索| 兴义市| 大悟县| 乌审旗| 陇川县| 平阴县| 新余市| 吕梁市| 当阳市| 八宿县| 大石桥市| 扶余县| 萝北县| 西畴县| 肃宁县| 望都县| 敖汉旗| 高尔夫| 溧阳市| 菏泽市| 保康县| 宣化县| 崇阳县| 岳阳县| 佛山市| 双辽市| 高邑县|