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

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
主站蜘蛛池模板: 日照市| 桃源县| 札达县| 徐水县| 察雅县| 婺源县| 大足县| 张掖市| 崇阳县| 綦江县| 定结县| 肃南| 铅山县| 贵溪市| 常熟市| 澄迈县| 德格县| 眉山市| 道孚县| 京山县| 赤壁市| 嘉鱼县| 东宁县| 桦甸市| 遂平县| 英吉沙县| 奇台县| 高唐县| 古田县| 海盐县| 班玛县| 浑源县| 北碚区| 梨树县| 左贡县| 房产| 鄂州市| 闵行区| 宝鸡市| 江门市| 广安市|