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

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.
主站蜘蛛池模板: 加查县| 共和县| 清河县| 辽阳市| 罗甸县| 南平市| 马尔康县| 安阳市| 天峻县| 金山区| 兴仁县| 德令哈市| 德惠市| 崇左市| 花莲市| 沂源县| 永靖县| 潞西市| 罗源县| 湖南省| 西昌市| 工布江达县| 正蓝旗| 江山市| 长沙市| 巩义市| 乳源| 玉林市| 瑞昌市| 宾川县| 滕州市| 竹北市| 镇赉县| 宣化县| 崇信县| 南昌县| 平定县| 灵山县| 宁城县| 南宁市| 扎鲁特旗|