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

Summary

Let's say you're at the airport by the self-service check-in trying to print your boarding card. The machine does not accept your booking number at first, but after a few retries, you're able to check in. After confirming, the machine hangs before printing your boarding card and you're not sure whether you've checked in or not. You move on to the next machine to try again.

In our society today, we put so much of our faith in machines. They handle everything for us, from flying airplanes to shopping online and paying the bills. It is when it doesn't work that we stop in our tracks and reflect on the fact that while the machine might be perfect, the programmer is not.

The reason behind testing is to create stability, predictability, and quality in our software. Writing tests reduces the number of bugs produced and the number of bugs found by our testers.

We write tests to make software cheaper. We do this because bugs are expensive. We do this because change is expensive. And we do this because we would rather go slowly and methodically in the right direction, than very fast down the wrong lane.

In this chapter, we touched upon what test automation is and why it's necessary. The next chapter will look at functional programming and how it makes testing a breeze.

主站蜘蛛池模板: 财经| 绥化市| 石景山区| 班戈县| 浮山县| 化州市| 壤塘县| 霍城县| 永年县| 临江市| 长岭县| 集贤县| 普陀区| 上杭县| 海盐县| 定陶县| 嘉荫县| 芒康县| 三明市| 舞阳县| 怀远县| 锦州市| 讷河市| 武宣县| 沙洋县| 十堰市| 扎囊县| 台安县| 墨竹工卡县| 阿勒泰市| 罗甸县| 芦山县| 澳门| 绥芬河市| 徐州市| 名山县| 花莲县| 山东省| 广宁县| 安乡县| 道真|