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

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
主站蜘蛛池模板: 陕西省| 合山市| 河源市| 仙游县| 施秉县| 石林| 依安县| 余姚市| 峡江县| 濮阳县| 昌乐县| 连江县| 商都县| 太保市| 金川县| 积石山| 南充市| 南澳县| 布拖县| 平度市| 石柱| 宜昌市| 林州市| 太仓市| 凭祥市| 太仆寺旗| 台北市| 大丰市| 宜章县| 陇西县| 上林县| 亳州市| 察隅县| 黑河市| 东方市| 天水市| 沙洋县| 德江县| 苗栗市| 桃园市| 武川县|