{"id":351,"date":"2020-05-15T18:42:18","date_gmt":"2020-05-15T10:42:18","guid":{"rendered":"http:\/\/www.kenecil.com\/?p=351"},"modified":"2022-07-14T13:29:11","modified_gmt":"2022-07-14T05:29:11","slug":"agile-testing-manifesto","status":"publish","type":"post","link":"http:\/\/www.kenecil.com\/2020\/05\/15\/agile-testing-manifesto\/","title":{"rendered":"\u654f\u6377\u6d4b\u8bd5\u5ba3\u8a00 Agile Testing Manifesto"},"content":{"rendered":"
\u672c\u6587\u9996\u53d1\u4e8e\u300cBY\u6797\u5b50<\/a>\u300d\uff0c\u8f6c\u8f7d\u8bf7\u53c2\u8003\u7248\u6743\u58f0\u660e<\/a>\u3002<\/p>\n NOTE\uff1a The English version of Agile Testing Manifesto can be found after this Chinese version.<\/strong><\/p>\n \u6839\u636e\u591a\u5e74\u5728Thoughtworks\u654f\u6377\u56e2\u961f\u7684\u654f\u6377\u6d4b\u8bd5\u76f8\u5173\u7ecf\u9a8c\uff0c\u6211\u4eec\u51e0\u4f4d\u8d44\u6df1QA\u540c\u4e8b\u4e00\u8d77\u8ba8\u8bba\u51fa\u654f\u6377\u6d4b\u8bd5\u5ba3\u8a00\u548c\u539f\u5219\uff0c\u672c\u6587\u4e0e\u5927\u5bb6\u8be6\u7ec6\u89e3\u8bfb\u3002<\/p>\n <\/p>\n \u654f\u6377\u6d4b\u8bd5\u5ba3\u8a00\u8868\u8fbe\u7684\u662f\u6211\u4eec\u5bf9\u4e8e\u654f\u6377\u6d4b\u8bd5\u7684\u4fe1\u4ef0\u548c\u4ef7\u503c\u89c2\uff0c\u5206\u522b\u5305\u62ec\u6d41\u7a0b\u3001\u56e2\u961f\u5408\u4f5c\u3001\u81ea\u52a8\u5316\u548c\u6838\u5fc3\u4ef7\u503c\u89c2\u56db\u4e2a\u7ef4\u5ea6\u3002<\/p>\n \u5728\u4ee5\u5f80\u8f6f\u4ef6\u53d1\u5e03\u5468\u671f\u8f83\u957f\u3001\u9700\u6c42\u53d8\u5316\u9891\u7387\u8f83\u4f4e\u3001\u4e0d\u540c\u89d2\u8272\u95f4\u7684\u5408\u4f5c\u58c1\u5792\u8f83\u9ad8\u7684\u73af\u5883\u4e0b\uff0c\u4f20\u7edf\u7684\u5f00\u53d1\u6a21\u5f0f\u6240\u91c7\u7528\u7684\u5b64\u7acb\u7684\u6d4b\u8bd5\u9636\u6bb5\u3001\u6d4b\u8bd5\u4eba\u5458\u72ec\u7acb\u628a\u5173\u8d28\u91cf\u3001\u56de\u5f52\u5f0f\u7684\u5168\u91cf\u81ea\u52a8\u5316\u6d4b\u8bd5\u548c\u8d28\u91cf\u68c0\u6d4b\uff0c\u662f\u6709\u5176\u4ef7\u503c\u7684\u3002\u4f46\u662f\uff0c\u5728\u654f\u6377\u5f00\u53d1\u6a21\u5f0f\u4e0b\uff0c\u654f\u6377\u6d4b\u8bd5\u5219\u66f4\u5f3a\u8c03\u5de6\u4fa7\u7684\u4ef7\u503c\u89c2\u3002<\/p>\n \u654f\u6377\u6d4b\u8bd5\u63d0\u5021\u6d4b\u8bd5\u5de6\u79fb\u548c\u53f3\u79fb\uff0c\u4ece\u8f6f\u4ef6\u751f\u547d\u5468\u671f\u7684\u65e9\u671f\uff08\u5de6\u4fa7\uff09\u4e00\u76f4\u5230\u4ea7\u54c1\u53d1\u5e03\u4e0a\u7ebf\u540e\u7684\u751f\u4ea7\u73af\u5883\uff0c\u90fd\u9700\u8981\u6709\u6d4b\u8bd5\u7684\u4ecb\u5165\u548c\u6d4b\u8bd5\u6d3b\u52a8\u7684\u5f00\u5c55\u3002<\/p>\n \u5de6\u79fb\u662f\u4e3a\u4e86\u66f4\u597d\u7684\u7406\u89e3\u548c\u6f84\u6e05\u9700\u6c42\uff0c\u4ee5\u51cf\u5c11\u9700\u6c42\u7406\u89e3\u4e0d\u4e00\u81f4\u5bfc\u81f4\u7684\u6d6a\u8d39\uff1b\u800c\u53f3\u79fb\u662f\u5145\u5206\u5229\u7528\u751f\u4ea7\u73af\u5883\u7684\u6570\u636e\u6765\u4f18\u5316\u5f00\u53d1\u548c\u6d4b\u8bd5\u6d41\u7a0b\uff0c\u4ee5\u589e\u5f3a\u8f6f\u4ef6\u7cfb\u7edf\u5e94\u5bf9\u5404\u79cd\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u80fd\u529b\u3002<\/p>\n \u5de6\u79fb\u548c\u53f3\u79fb\u5e76\u4e0d\u4ec5\u4ec5\u662f\u5c06\u6d4b\u8bd5\u6d3b\u52a8\u79fb\u5230\u4e24\u4fa7\u7aef\u70b9\uff0c\u66f4\u5f3a\u8c03\u7684\u662f\u6bcf\u4e2a\u73af\u8282\u7684\u53c2\u4e0e\uff0c\u4e5f\u5c31\u662f\u5168\u7a0b\u6d4b\u8bd5\u4ecb\u5165\uff0c\u8fd9\u662f\u4ece\u6d41\u7a0b\u4e0a\u4fdd\u969c\u9ad8\u8d28\u91cf\u8f6f\u4ef6\u4ea4\u4ed8\u7684\u5173\u952e\u3002<\/p>\n \u654f\u6377\u63d0\u5021\u5168\u529f\u80fd\u56e2\u961f\uff0c\u56e2\u961f\u7684\u89d2\u8272\u4e4b\u95f4\u5206\u5de5\u4e0d\u518d\u90a3\u4e48\u660e\u786e\uff0c\u4e0d\u540c\u89d2\u8272\u95f4\u7684\u534f\u4f5c\u66f4\u52a0\u5bc6\u5207\uff0c\u56e2\u961f\u4e00\u8d77\u4e3a\u8d28\u91cf\u8d1f\u8d23\uff0c\u662f\u654f\u6377\u6d4b\u8bd5\u9700\u8981\u9075\u5faa\u7684\u6307\u5bfc\u6027\u539f\u5219\u3002<\/p>\n \u56e2\u961f\u9700\u8981\u5bf9\u8d28\u91cf\u76ee\u6807\u6709\u7edf\u4e00\u8ba4\u8bc6\uff0c\u5728\u654f\u6377\u8f6f\u4ef6\u751f\u547d\u5468\u671f\u7684\u6bcf\u4e2a\u73af\u8282\u6709\u4e0d\u540c\u89d2\u8272\u7684\u5171\u540c\u53c2\u4e0e\uff0c\u5b9e\u73b0\u8d28\u91cf\u76ee\u6807\u662f\u6bcf\u4e2a\u89d2\u8272\u7684\u804c\u8d23\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u662f\u654f\u6377\u6d4b\u8bd5\u7684\u57fa\u7840\uff0c\u662f\u5feb\u901f\u53cd\u9988\u7684\u5fc5\u8981\u624b\u6bb5\u3002\u81ea\u52a8\u5316\u6d4b\u8bd5\u4e0d\u80fd\u4e00\u5473\u7684\u8ffd\u6c42\u8986\u76d6\u7387\uff0c\u800c\u662f\u8981\u8ffd\u6c42\u6709\u76ee\u7684\u7684\u7cbe\u51c6\u8986\u76d6\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u81ea\u52a8\u5316\u6d4b\u8bd5\u9996\u5148\u5fc5\u987b\u662f\u6709\u6548\u7684\uff0c\u662f\u57fa\u4e8e\u4e1a\u52a1\u98ce\u9669\u8003\u8651\u7684\uff0c\u624d\u80fd\u771f\u6b63\u5b9e\u73b0\u5feb\u901f\u53cd\u9988\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u9700\u8981\u80fd\u591f\u5728\u6301\u7eed\u96c6\u6210\u6d41\u6c34\u7ebf\u4e0a\u6301\u7eed\u7684\u8fd0\u884c\uff0c\u4e3a\u6bcf\u6b21\u4ee3\u7801\u63d0\u4ea4\u63d0\u4f9b\u53cd\u9988\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u529f\u80fd\u4e0d\u4f1a\u56e0\u4e3a\u65b0\u4ee3\u7801\u7684\u63d0\u4ea4\u800c\u88ab\u7834\u574f\uff1b\u540c\u65f6\uff0c\u968f\u7740\u529f\u80fd\u7684\u4e0d\u65ad\u8fed\u4ee3\uff0c\u81ea\u52a8\u5316\u6d4b\u8bd5\u9700\u8981\u76f8\u5e94\u7684\u66f4\u65b0\u3001\u589e\u52a0\uff0c\u786e\u4fdd\u65b0\u529f\u80fd\u662f\u6709\u6709\u6548\u81ea\u52a8\u5316\u6d4b\u8bd5\u8986\u76d6\u7684\u3002<\/p>\n \u8d28\u91cf\u5185\u5efa\u662f\u654f\u6377\u6d4b\u8bd5\u7684\u6838\u5fc3\uff0c\u9700\u8981\u5c06\u6d4b\u8bd5\u5168\u7a0b\u4ecb\u5165\u3001\u56e2\u961f\u4e3a\u8d28\u91cf\u8d1f\u8d23\u548c\u6301\u7eed\u7cbe\u51c6\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7ed3\u5408\u8d77\u6765\uff0c\u5728\u654f\u6377\u8f6f\u4ef6\u751f\u547d\u5468\u671f\u7684\u6bcf\u4e2a\u73af\u8282\u505a\u597d\u7f3a\u9677\u7684\u9884\u9632\uff0c\u628a\u8d28\u91cf\u878d\u5165\u5230\u4ea7\u54c1\u7684\u5f00\u53d1\u6784\u5efa\u4e2d\u3002<\/p>\n <\/p>\n \u654f\u6377\u6d4b\u8bd5\u9700\u8981\u9075\u5faa\u5982\u4e0b10\u6761\u539f\u5219\uff1a<\/p>\n \u654f\u6377\u6d4b\u8bd5\u7684\u76ee\u6807\uff0c\u6240\u6709\u7684\u6d4b\u8bd5\u6d3b\u52a8\u90fd\u56f4\u7ed5\u8fd9\u4e00\u76ee\u6807\u5f00\u5c55\u3002\u654f\u6377\u6d4b\u8bd5\u4eba\u5458\u8981\u6709\u601d\u7ef4\u4e0a\u7684\u8f6c\u53d8\uff0c\u4e0d\u518d\u662f\u5173\u6ce8\u4e8e\u53d1\u73b0\u66f4\u591a\u7684\u7f3a\u9677\uff0c\u800c\u662f\u601d\u8003\u548c\u91c7\u53d6\u76f8\u5e94\u7684\u63aa\u65bd\u4ee5\u5e2e\u52a9\u56e2\u961f\u66f4\u5feb\u3001\u66f4\u9ad8\u8d28\u91cf\u7684\u4ea4\u4ed8\u8f6f\u4ef6\u3002<\/p>\n \u6d4b\u8bd5\u5de6\u79fb\uff0c\u56e2\u961f\u5408\u4f5c\uff0c\u9700\u6c42\u7684\u6e05\u6670\u8868\u8fbe\uff0c\u786e\u4fdd\u56e2\u961f\u5728\u505a\u5bf9\u7684\u4e8b\u60c5\uff0c\u62e5\u62b1\u53d8\u5316\u7684\u540c\u65f6\u80fd\u591f\u5c11\u8d70\u5f2f\u8def\u3002<\/p>\n \u6d4b\u8bd5\u53f3\u79fb\uff0c\u7531\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u7279\u6b8a\u6027\uff0c\u5e76\u4e0d\u80fd\u5c06\u6d4b\u8bd5\u6d3b\u52a8\u7b80\u5355\u53f3\u79fb\u5230\u751f\u4ea7\u73af\u5883\uff0c\u53ea\u80fd\u901a\u8fc7\u6536\u96c6\u548c\u5206\u6790\u751f\u4ea7\u73af\u5883\u7684\u6570\u636e\uff0c\u5229\u7528\u8fd9\u4e9b\u6570\u636e\u6765\u4f18\u5316\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u4e1a\u52a1\u4ef7\u503c\uff0c\u8ba9\u751f\u4ea7\u73af\u5883\u548c\u5f00\u53d1\u8fc7\u7a0b\u5f62\u6210\u826f\u6027\u73af\u8def\u3002<\/p>\n \u6d4b\u8bd5\u4eba\u5458\u5c5e\u4e8e\u5f00\u53d1\u56e2\u961f\u7684\u4e00\u5458\uff0c\u63a8\u5012\u89d2\u8272\u4e4b\u95f4\u7684\u6c9f\u901a\u58c1\u5792\uff0c\u6d4b\u8bd5\u4eba\u5458\u4e0e\u5f00\u53d1\u4eba\u5458\u8fdb\u884c\u5bc6\u5207\u7684\u5408\u4f5c\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u4e0d\u53ea\u662f\u6d4b\u8bd5\u4eba\u5458\u7684\u804c\u8d23\uff0c\u5355\u5143\u6d4b\u8bd5\u548c\u63a5\u53e3\u6d4b\u8bd5\u4e3b\u8981\u7531\u5f00\u53d1\u4eba\u5458\u8d1f\u8d23\uff0c\u800c\u754c\u9762\u5c42\u81ea\u52a8\u5316\u6d4b\u8bd5\u540c\u6837\u9700\u8981\u5f00\u53d1\u4eba\u5458\u4e00\u8d77\u53c2\u4e0e\u8bbe\u8ba1\u3001\u5b9e\u73b0\u548c\u7ef4\u62a4\uff0c\u8fd9\u6837\u624d\u66f4\u9ad8\u6548\uff1b\u540c\u65f6\uff0c\u53ef\u4ee5\u8ba9\u6d4b\u8bd5\u4eba\u5458\u62bd\u79bb\u51fa\u6765\u53bb\u505a\u66f4\u6709\u4ef7\u503c\u7684\u4e8b\u60c5\u2014\u2014\u63a2\u7d22\u6027\u6d4b\u8bd5\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u9700\u8981\u5728\u6301\u7eed\u96c6\u6210\u6d41\u6c34\u7ebf\u4e2d\u8fd0\u884c\uff0c\u5e76\u4e14\u505a\u5230\u80fd\u591f\u6309\u9700\u7cbe\u51c6\u6267\u884c\uff0c\u5728\u8ffd\u6c42\u5b8c\u5907\u8986\u76d6\u7684\u540c\u65f6\u8fd8\u80fd\u9ad8\u6548\u8fd0\u884c\uff0c\u5feb\u901f\u63d0\u4f9b\u53cd\u9988\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u5e94\u8be5\u6709\u5b8c\u5907\u7684\u6570\u636e\u96c6\uff0c\u5305\u62ec\u6b63\u5e38\u548c\u5f02\u5e38\u60c5\u51b5\u7684\u8986\u76d6\u3001\u6ee1\u8db3\u4e0d\u540c\u73af\u5883\u6216\u4e0d\u540c\u5e73\u53f0\u7684\u6267\u884c\u8981\u6c42\u7b49\uff1b\u540c\u65f6\uff0c\u9700\u8981\u6709\u5b8c\u5584\u7684\u6570\u636e\u521b\u5efa\u548c\u7ba1\u7406\u65b9\u6848\uff0c\u786e\u4fdd\u4e0d\u540c\u9700\u6c42\u4e0b\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u80fd\u591f\u83b7\u5f97\u76f8\u5e94\u7684\u6d4b\u8bd5\u6570\u636e\u3002<\/p>\n \u9700\u6c42\u6587\u6863\u8981\u8ddf\u81ea\u52a8\u5316\u6d4b\u8bd5\u5173\u8054\uff0c\u53d8\u6210\u53ef\u6267\u884c\u7684\u6d3b\u6587\u6863\uff0c\u5e76\u4e14\u8981\u8ddf\u4ea7\u54c1\u4ee3\u7801\u4e00\u8d77\u4f5c\u4e3a\u77e5\u8bc6\u8d44\u4ea7\u8fdb\u884c\u7248\u672c\u5316\u7ba1\u7406\u3002<\/p>\n \u81ea\u52a8\u5316\u6d4b\u8bd5\u8981\u6839\u636e\u4e0d\u540c\u7684\u6d4b\u8bd5\u5bf9\u8c61\u8fdb\u884c\u6709\u6548\u5206\u5c42\u3002\u8d8a\u5f80\u5e95\u5c42\u7684\u6d4b\u8bd5\u5b9e\u73b0\u6210\u672c\u66f4\u4f4e\u3001\u6267\u884c\u66f4\u9ad8\u6548\u3001\u5b9a\u4f4d\u66f4\u51c6\u786e\uff0c\u4f46\u8986\u76d6\u8303\u56f4\u6709\u9650\uff0c\u4e0d\u80fd\u8ddf\u4e1a\u52a1\u5f88\u597d\u7684\u5173\u8054\uff1b\u8d8a\u5f80\u9876\u5c42\u7684\u6d4b\u8bd5\u8d8a\u63a5\u8fd1\u4e1a\u52a1\u3001\u66f4\u80fd\u4f53\u73b0\u4e1a\u52a1\u4ef7\u503c\uff0c\u4f46\u662f\u6267\u884c\u901f\u5ea6\u3001\u7a33\u5b9a\u6027\u8f83\u5dee\u3001\u5b9a\u4f4d\u95ee\u9898\u8f83\u96be\u3002\u9700\u8981\u6839\u636e\u7cfb\u7edf\u8981\u6c42\u3001\u6280\u672f\u67b6\u6784\u7b49\u9879\u76ee\u5177\u4f53\u60c5\u51b5\u89c4\u5212\u6bcf\u5c42\u6d4b\u8bd5\u7684\u5408\u7406\u5360\u6bd4\uff0c\u4e0d\u80fd\u76f2\u76ee\u7684\u8ffd\u6c42\u591a\u800c\u5168\u7684\u8986\u76d6\u3002<\/p>\n \u8d28\u91cf\u5185\u5efa\u662f\u654f\u6377\u6d4b\u8bd5\u8ffd\u6c42\u7684\u6838\u5fc3\u4ef7\u503c\u89c2\uff0c\u800c\u8d28\u91cf\u5185\u5efa\u672c\u8d28\u4e0a\u5c31\u662f\u7f3a\u9677\u9884\u9632\u3002\u654f\u6377\u6d4b\u8bd5\u9700\u8981\u56e2\u961f\u628a\u91cd\u5fc3\u653e\u5728\u9884\u9632\u7f3a\u9677\u4e0a\uff0c\u63d0\u9ad8\u8f6f\u4ef6\u7684\u5185\u5efa\u8d28\u91cf\uff0c\u800c\u53ea\u5173\u6ce8\u7f3a\u9677\u6570\u91cf\u3001\u751a\u81f3\u628a\u7f3a\u9677\u6570\u91cf\u5f53\u505a\u8003\u6838\u6307\u6807\u7684\u60c5\u51b5\u662f\u8fdd\u80cc\u8fd9\u4e00\u6838\u5fc3\u4ef7\u503c\u89c2\u7684\u3002\u5f53\u7136\uff0c\u5bf9\u7f3a\u9677\u6570\u91cf\u8d8b\u52bf\u7684\u6b63\u786e\u8ddf\u8e2a\u548c\u5bf9\u7f3a\u9677\u6839\u56e0\u7684\u6df1\u5165\u5206\u6790\uff0c\u662f\u5e2e\u52a9\u9884\u9632\u7f3a\u9677\u7684\u6709\u6548\u624b\u6bb5\uff0c\u662f\u503c\u5f97\u63a8\u8350\u7684\u3002<\/p>\n \u63a8\u8350\u4e0b\u5217\u654f\u6377\u6d4b\u8bd5\u76f8\u5173\u6587\u7ae0\uff1a<\/p>\n <\/p>\n Full Lifecycle Testing OVER<\/strong> Isolated Testing Phase The Agile Testing Manifesto expresses our beliefs and values \u200b\u200babout agile testing, including four dimensions: process, teamwork, automation, and core values.<\/p>\n As the software release cycle was long, the frequency of requirement changes was low, and the barriers to cooperation between different roles were high, the traditional development model adopted the isolated testing phase, the testers independently checked the quality, full regression automation and quality detection, which are beneficial. However, with agile development, agile testing puts more emphasis on the values on the left.<\/p>\n Agile testing advocates shifting testing to the left and right. From the early stage of the software life cycle (left side) to the production environment after the product is released, testers\u2019 involvement and testing activities are essential.<\/p>\n Shifting left, the goal is to better understand and clarify requirements in order to reduce waste caused by inconsistent requirement understanding, while shifting right is to make full use of the data of the production environment in order to optimize the development and testing process so that the software can handle a variety of unexpected behavioral patterns.<\/p>\n Shifting left and right is not only about moving the testing activities to the endpoints on both sides, but also emphasizing the effect of each stage, that is, full life cycle testing, which is the key to ensuring high-quality software delivery from the process.<\/p>\n With agile, the roles of the team are no longer clearly defined, the collaboration between different roles is closer, and the team is responsible for the quality together, which is the agile testing's guiding principle.<\/p>\n The team needs to share a unified understanding of quality objectives, and various roles participate in different stages of the agile software life cycle. It is each role's responsibility to achieve quality objectives.<\/p>\n Automated testing is the foundation of agile testing and a critical means of rapid feedback. Automated testing should not pursue coverage blindly, but should pursue purposeful and accurate coverage. That is to say, Automated testing must first be effective and based on business risks in order to truly achieve rapid feedback.<\/p>\n The automated tests must run continuously in the CI pipeline, providing feedback for each code submission, to ensure system functions will not be broken because of new code submissions. As new functions continue to iterate, it is necessary to update and add more automated tests so that new features are covered by automated tests.<\/p>\n Quality built-in is the core of agile testing. It is necessary to combine the entire process of testing, the team's responsibility for quality, and continuous and accurate automated testing altogether, to prevent defects in every phase of the agile software life cycle, and to integrate quality into the product being developed and built.<\/p>\n It is the goal of agile testing, around which all testing activities are conducted. Agile testers should change their mindset, no longer focus on finding more bugs, but think and act accordingly to help teams deliver software faster and with higher quality.<\/p>\n Shift testing to the left and articulate requirements to ensure the team is doing the right thing and avoiding detours while embracing change. <\/p>\n Due to the particularity of the production environment, shifting testing to the right cannot simply move the testing activities to the production environment, but only collect and analyze the data of production environment to optimize development, testing and business value, so that the production environment and the SDLC forms a virtuous circle.<\/p>\n Testers are part of the development team, tearing down communication barriers between roles, and testers work closely with developers.<\/p>\n Automated test is not just the responsibility of testers. Unit tests and API tests are mainly the responsibility of developers, and UI automated tests also requires developers to participate in design, implementation and maintenance, which is a more efficient way to free testers to do something more valuable, i.e. exploratory testing.<\/p>\n In addition to pursuing complete coverage, automated tests should also run efficiently and provide feedback quickly. They need to be run in the CI pipeline and can be executed precisely on demand.<\/p>\n Automated tests should contain a complete data set, including covering both happy paths and unhappy paths, meeting the execution requirements of different environments or platforms, etc. <\/p>\n Similarly, it should include data creation and management functions so as to obtain relevant test data.<\/p>\n Requirements documentation should be tied to automated tests, become executable living documents, and be versioned with product code as a knowledge asset.<\/p>\n Automated tests should be effectively layered according to different test objects. <\/p>\n Low-level tests have lower cost, higher execution efficiency, and more accurate problem location, but it cannot be well related to the business.<\/p>\n High-level tests are close to the business and can reflect the business value, but the execution speed and stability are poor, and it is difficult to locate the problem if a test fails.<\/p>\n It is necessary to plan a reasonable proportion of each layer of tests according to the specific conditions of the project such as system requirements and technical architecture, and cannot blindly pursue high coverage.<\/p>\n The core value of agile testing is quality built-in, which is essentially defect prevention.Team should focus on preventing defects and improving the built-in quality of software.<\/p>\n Focusing only on the number of defects, or even making it a KPI, goes against this core value.<\/p>\n Tracking defects trends and analyzing the root causes are effective methods that can help prevent defects and should be recommended.<\/p>\n \u672c\u6587\u9996\u53d1\u4e8e\u300cBY\u6797\u5b50<\/a>\u300d\uff0c\u8f6c\u8f7d\u8bf7\u53c2\u8003\u7248\u6743\u58f0\u660e<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u654f\u6377\u6d4b\u8bd5\u5ba3\u8a00\u8868\u8fbe\u7684\u662f\u6211\u4eec\u5bf9\u4e8e\u654f\u6377\u6d4b\u8bd5\u7684\u4fe1\u4ef0\u548c\u4ef7\u503c\u89c2\uff0c\u5206\u522b\u5305\u62ec\u6d41\u7a0b\u3001\u56e2\u961f\u5408\u4f5c\u3001\u81ea\u52a8\u5316\u548c\u6838\u5fc3\u4ef7\u503c\u89c2\u56db\u4e2a\u7ef4\u5ea6\u3002\u9488\u5bf9\u654f\u6377\u6d4b\u8bd5\u4ef7\u503c\u89c2\uff0c\u63a8\u835010\u6761\u654f\u6377\u6d4b\u8bd5\u5b9e\u8df5\u6d3b\u52a8\u5728\u843d\u5730\u5b9e\u65bd\u8fc7\u7a0b\u4e2d\u9700\u8981\u9075\u5faa\u7684\u654f\u6377\u6d4b\u8bd5\u539f\u5219\u3002<\/p>\n","protected":false},"author":1,"featured_media":1139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[114],"tags":[77,28],"class_list":["post-351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-testing-and-quality","tag-77","tag-agile-testing"],"yoast_head":"\n
\n\u3010\u4e2d\u6587\u7248Chinese Version\u3011<\/h2>\n
\u654f\u6377\u6d4b\u8bd5\u5ba3\u8a00<\/h3>\n
\u89e3\u8bfb<\/h4>\n
\u5168\u7a0b\u7684\u6d4b\u8bd5\u4ecb\u5165<\/h5>\n
\u56e2\u961f\u6574\u4f53\u5bf9\u8d28\u91cf\u8d1f\u8d23<\/h5>\n
\u6301\u7eed\u6027\u7684\u7cbe\u51c6\u81ea\u52a8\u5316\u6d4b\u8bd5<\/h5>\n
\u8d28\u91cf\u5185\u5efa<\/h5>\n
\u654f\u6377\u6d4b\u8bd5\u539f\u5219<\/h3>\n
\n
\u89e3\u8bfb<\/h4>\n
1. \u6211\u4eec\u7684\u76ee\u6807\u5728\u4e8e\u548c\u56e2\u961f\u4e00\u8d77\u5c3d\u5feb\u5730\u4ea4\u4ed8\u9ad8\u8d28\u91cf\u8f6f\u4ef6\u3002<\/h5>\n
2. \u6d4b\u8bd5\u4eba\u5458\u5c3d\u65e9\u53c2\u4e0e\u8f6f\u4ef6\u65e9\u671f\u9636\u6bb5\uff0c\u4e0e\u6240\u6709\u56e2\u961f\u89d2\u8272\u5408\u4f5c\uff0c\u901a\u8fc7\u5b9e\u4f8b\u5316\u9700\u6c42\uff0c\u786e\u4fdd\u5bf9\u4e1a\u52a1\u4ef7\u503c\u7406\u89e3\u7684\u4e00\u81f4\u6027\u3002<\/h5>\n
3. \u6d4b\u8bd5\u4eba\u5458\u5173\u6ce8\u751f\u4ea7\u73af\u5883\u72b6\u6001\uff0c\u6536\u96c6\u6570\u636e\uff0c\u6307\u5bfc\u548c\u4f18\u5316\u524d\u671f\u7684\u5206\u6790\u3001\u5f00\u53d1\u548c\u6d4b\u8bd5\u3002<\/h5>\n
4. \u6d4b\u8bd5\u4eba\u5458\u548c\u5f00\u53d1\u4eba\u5458\u540c\u5904\u4e00\u4e2a\u4ea7\u54c1\u9879\u76ee\u56e2\u961f\uff0c\u800c\u4e0d\u662f\u72ec\u7acb\u7684\u6d4b\u8bd5\u56e2\u961f\u6216\u90e8\u95e8\u3002<\/h5>\n
5. \u6d4b\u8bd5\u4eba\u5458\u8d1f\u8d23\u63a2\u7d22\u6027\u6d4b\u8bd5\uff0c\u548c\u5f00\u53d1\u4eba\u5458\u7ed3\u5bf9\uff0c\u8bbe\u8ba1\u3001\u5b9e\u73b0\u548c\u7ef4\u62a4\u81ea\u52a8\u5316\u6d4b\u8bd5\u3002<\/h5>\n
6. \u81ea\u52a8\u5316\u6d4b\u8bd5\u5728\u6d41\u6c34\u7ebf\u4e2d\u6301\u7eed\u7cbe\u51c6\u6267\u884c\uff0c\u5feb\u901f\u53d1\u73b0\u6bcf\u6b21\u4ee3\u7801\u63d0\u4ea4\u5bf9\u4e8e\u5df2\u6709\u529f\u80fd\u7684\u5f71\u54cd\u3002<\/h5>\n
7. \u6d4b\u8bd5\u6570\u636e\u5bf9\u4e8e\u81ea\u52a8\u5316\u6d4b\u8bd5\u662f\u5145\u5206\u7684\uff0c\u5e76\u80fd\u6309\u9700\u83b7\u5f97\u3002<\/h5>\n
8. \u6d4b\u8bd5\u6d3b\u6587\u6863\u5316\uff0c\u548c\u4ee3\u7801\u4e00\u8d77\uff0c\u4f5c\u4e3a\u77e5\u8bc6\u8d44\u4ea7\u8fdb\u884c\u7248\u672c\u5316\u7ba1\u7406\u3002<\/h5>\n
9. \u81ea\u52a8\u5316\u6d4b\u8bd5\u9700\u8981\u6709\u6548\u7684\u5206\u5c42\u3002<\/h5>\n
10. \u9884\u9632\u7f3a\u9677\uff0c\u800c\u4e0d\u662f\u5173\u6ce8\u7f3a\u9677\u7684\u6570\u91cf\u3002<\/h5>\n
\u76f8\u5173\u9605\u8bfb\u63a8\u8350<\/h3>\n
\n
\nEnglish Version<\/h2>\n
Agile Testing Manifesto<\/h3>\n
\n
\nTeam Shared Responsibility OVER<\/strong> Testers Ensure Quality
\nContinuous Targeted Automation OVER<\/strong> Widespread Regression Testing
\nQuality Built-in OVER<\/strong> Defect Detection<\/p>\n<\/blockquote>\nInterpretation<\/h4>\n
Full Lifecycle Testing<\/h5>\n
Team Shared Responsibility<\/h5>\n
Continuous Targeted Automation<\/h5>\n
Quality built-in<\/h5>\n
Ten Principles of Agile Testing<\/h3>\n
\n
Interpretation<\/h4>\n
1. Our goal is to deliver high-quality software as quickly as possible with the team.<\/h5>\n
2. Testers engage as early as possible in the software development process, collaborating with all roles in the team to ensure a consistent understanding of the business value.<\/h5>\n
3. Testers monitor quality in the production environment, collect data, then analyze the results to optimize the process of requirement analysis, development, and testing.<\/h5>\n
4. Rather than having separate testing teams or departments, testers and developers are part of the same product project team.<\/h5>\n
5. Testers are responsible for exploratory testing and work with developers to design, implement and maintain automated tests.<\/h5>\n
6. Automated tests are executed continuously and accurately in the CI pipeline, and the impact of each new code submission on existing functions can be easily identified.<\/h5>\n
7. Test data is sufficient for automated testing and is available on demand.<\/h5>\n
8. Tests are documented as living documents and versioned as knowledge assets along with the product code.<\/h5>\n
9. Automation tests require effective layering.<\/h5>\n
10. Rather than focusing on the number of defects found, prevent them.<\/h5>\n
\n