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

Automated tests are code too

There is no way of denying it: automated tests are also code. And any line of code has a certain probability of containing a bug.

Does this mean you should refrain from test automation? If so, it sounds like refraining from coding in general. For sure, the challenge is to keep the bug probability to a bare minimum by making the test design a part of the requirements and requirements review, by reviewing the test code like you would want to review the app code, and by making sure that tests always end with an adequate number of verifications by putting them under source code management.

Ages ago, I watched a documentary on this topic, stating that research had shown that this probability was somewhere between two and five percent. The exact probability was likely to depend on the coding skills of the developer concerned.
主站蜘蛛池模板: 宕昌县| 宁晋县| 长寿区| 旬阳县| 宜兴市| 兴国县| 万全县| 青神县| 盱眙县| 古田县| 龙井市| 清远市| 大悟县| 梧州市| 新蔡县| 多伦县| 开鲁县| 丰镇市| 雷山县| 顺义区| 福鼎市| 定安县| 临泽县| 依兰县| 丁青县| 大石桥市| 南充市| 额济纳旗| 酒泉市| 望江县| 修文县| 彰化市| 闻喜县| 筠连县| 蓝山县| 绵竹市| 丹江口市| 潮州市| 龙里县| 满城县| 泾阳县|