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

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.
主站蜘蛛池模板: 保德县| 铜川市| 穆棱市| 仁布县| 天门市| 梁山县| 额济纳旗| 大荔县| 邵阳市| 集贤县| 大竹县| 龙门县| 林州市| 板桥市| 兰考县| 安泽县| 泰宁县| 铜梁县| 泸水县| 梁河县| 无极县| 海门市| 崇州市| 麻江县| 鹿泉市| 瓦房店市| 竹山县| 布拖县| 特克斯县| 晋城| 天气| 扬州市| 仪征市| 肥西县| 兴海县| 琼结县| 于都县| 繁昌县| 镇宁| 成都市| 松江区|