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

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
主站蜘蛛池模板: 连江县| 南郑县| 南阳市| 伊金霍洛旗| 利川市| 仁寿县| 化州市| 屏山县| 博罗县| 长寿区| 腾冲县| 陆丰市| 宜阳县| 沂水县| 东至县| 昌吉市| 隆回县| 松阳县| 昭觉县| 灵山县| 甘南县| 中山市| 阳高县| 临颍县| 唐河县| 玉溪市| 壶关县| 蕲春县| 平昌县| 阿瓦提县| 衡东县| 大方县| 昌吉市| 格尔木市| 凤城市| 宁陕县| 韩城市| 教育| 东乡| 阳高县| 塔城市|