{"id":56,"date":"2018-06-28T08:48:50","date_gmt":"2018-06-28T00:48:50","guid":{"rendered":"http:\/\/www.lisaeats.com\/?p=56"},"modified":"2022-08-03T08:43:29","modified_gmt":"2022-08-03T00:43:29","slug":"microservices-testing","status":"publish","type":"post","link":"http:\/\/www.lisaeats.com\/2018\/06\/28\/microservices-testing\/","title":{"rendered":"\u5fae\u670d\u52a1\u6d4b\u8bd5\u7684\u601d\u8003\u4e0e\u5b9e\u8df5"},"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 \u6700\u8fd1\u51e0\u5e74\uff0c\u5fae\u670d\u52a1\u67b6\u6784\u8d8a\u6765\u8d8a\u706b\u7206\uff0c\u9010\u6e10\u88ab\u4f01\u4e1a\u6240\u91c7\u7528\u3002\u968f\u7740\u8f6f\u4ef6\u67b6\u6784\u7684\u53d8\u5316\uff0c\u5bf9\u5e94\u7684\u8f6f\u4ef6\u6d4b\u8bd5\u7b56\u7565\u9700\u8981\u4f5c\u4f55\u8c03\u6574\u5462\uff1f\u672c\u6587\u5c06\u4ecb\u7ecd\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u6d4b\u8bd5\u7b56\u7565\uff0c\u5e76\u7ed3\u5408\u5206\u4eab\u5728\u4e1a\u52a1\u548c\u67b6\u6784\u6f14\u53d8\u8fc7\u7a0b\u4e2d\uff0c\u4e00\u4e2a\u5386\u7ecf\u8d85\u5341\u5e74\u7684\u9879\u76ee\u6d4b\u8bd5\u7b56\u7565\u7684\u6f14\u8fdb\u3002<\/p>\n \u5fae\u670d\u52a1\u67b6\u6784\u662f\u4e00\u79cd\u67b6\u6784\u6a21\u5f0f\uff0c\u5b83\u63d0\u5021\u5c06\u5355\u4e00\u5e94\u7528\u7a0b\u5e8f\u5212\u5206\u6210\u4e00\u7ec4\u5c0f\u7684\u670d\u52a1\uff0c\u6bcf\u4e2a\u670d\u52a1\u8fd0\u884c\u5728\u5176\u72ec\u7acb\u7684\u8fdb\u7a0b\u4e2d\uff0c\u670d\u52a1\u95f4\u91c7\u7528\u8f7b\u91cf\u7ea7\u901a\u4fe1\u673a\u5236\u4e92\u76f8\u6c9f\u901a\uff08\u901a\u5e38\u662f\u57fa\u4e8eHTTP\u534f\u8bae\u7684RESTful API\uff09\u3002\u6bcf\u4e2a\u670d\u52a1\u90fd\u56f4\u7ed5\u7740\u5177\u4f53\u7684\u4e1a\u52a1\u8fdb\u884c\u6784\u5efa\uff0c\u5e76\u4e14\u80fd\u591f\u88ab\u72ec\u7acb\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u3001\u9884\u751f\u4ea7\u73af\u5883\u3002<\/p>\n \u4ece\u5fae\u670d\u52a1\u7684\u6982\u5ff5\u53ef\u4ee5\u770b\u51fa\u5b83\u6709\u5982\u4e0b\u597d\u5904\uff1a<\/p>\n \u540c\u65f6\uff0c\u72ec\u7acb\u5f00\u53d1\u5bfc\u81f4\u6280\u672f\u4e0a\u7684\u5206\u79bb\uff0cHTTP\u901a\u4fe1\u52a0\u4e0aQueue\u7684\u673a\u5236\u589e\u52a0\u4e86\u95ee\u9898\u8bca\u65ad\u7684\u590d\u6742\u5ea6\uff0c\u5bf9\u7cfb\u7edf\u7684\u529f\u80fd\u3001\u6027\u80fd\u548c\u5b89\u5168\u65b9\u9762\u7684\u8d28\u91cf\u4fdd\u969c\u5e26\u6765\u4e86\u5f88\u5927\u7684\u6311\u6218\u3002\u53e6\u5916\uff0c\u670d\u52a1\u95f4\u7684\u590d\u6742\u4f9d\u8d56\u5173\u7cfb\u5e26\u6765\u4e86\u5f88\u591a\u7684\u4e0d\u786e\u5b9a\u6027\uff0c\u8981\u5b9e\u73b0\u72ec\u7acb\u90e8\u7f72\uff0c\u5bf9\u8fd0\u7ef4\u4e5f\u63d0\u51fa\u4e86\u66f4\u9ad8\u7684\u8981\u6c42\u3002\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7cfb\u7edf\u8981\u7279\u522b\u5173\u6ce8\u8fd9\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n \u8c08\u5230\u5fae\u670d\u52a1\u7684\u6d4b\u8bd5\u7b56\u7565\uff0c\u5f88\u5bb9\u6613\u5c31\u60f3\u5230\u4e86\u8001\u9a6c\u7f51\u7ad9\u4e0aToby Clemson\u7684\u6587\u7ae0\u300aMicroservices Testing<\/a>\u300b\uff0c\u8be5\u6587\u63a8\u8350\u7684\u5fae\u670d\u52a1\u6846\u67b6\u4e0b\u7684\u6d4b\u8bd5\u7b56\u7565\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n <\/p>\n \u7ecf\u5178\u6d4b\u8bd5\u7b56\u7565\u8fd9\u4e2a\u7b56\u7565\u6a21\u578b\u5f3a\u8c03\u6d4b\u8bd5\u5206\u5c42\u4ee5\u53ca\u6bcf\u4e00\u5c42\u7684\u6070\u5f53\u8986\u76d6\uff0c\u6574\u4f53\u7b26\u5408\u91d1\u5b57\u5854\u7ed3\u6784\u3002\u5b83\u662f\u6700\u4f18\u7684\u5417\uff1f<\/p>\n \u6709\u4eba\u5bf9\u6b64\u63d0\u51fa\u4e86\u8d28\u7591\u2026\u8ba4\u4e3a\u7b56\u7565\u6a21\u578b\u5e94\u8be5\u662f\u8702\u5de2\u5f62\u72b6\u7684\uff08\u8bf7\u53c2\u8003\u6587\u7ae0<\/a>\uff09\uff1a<\/p>\n <\/p>\n \u8fd9\u4e2a\u6a21\u578b\u91cd\u70b9\u5173\u6ce8\u670d\u52a1\u95f4\u7684\u96c6\u6210\u6d4b\u8bd5\uff0c\u4e24\u7aef\u7684\u5355\u5143\u6d4b\u8bd5\u548cUI\u5c42E2E\u6d4b\u8bd5\u8f83\u5c11\u3002<\/p>\n \u4e5f\u6709\u540c\u4e8b\u63d0\u51fa\u5fae\u670d\u52a1\u4e0b\u7684\u6d4b\u8bd5\u7ed3\u6784\u5e94\u8be5\u662f\u94bb\u77f3\u5f62\u72b6\u7684\uff0c\u670d\u52a1\u95f4\u7684\u96c6\u6210\u4f9d\u7136\u662f\u91cd\u70b9\uff0c\u5355\u5143\u6d4b\u8bd5\u8f83\u5c11\uff0c\u800c\u9876\u5c42\u589e\u52a0\u4e86\u5b89\u5168\u548c\u6027\u80fd\u7b49\u975e\u529f\u80fd\u6d4b\u8bd5\u3002<\/p>\n <\/p>\n \u597d\u50cf\u90fd\u6709\u9053\u7406\uff0c\u5230\u5e95\u9009\u62e9\u4ec0\u4e48\u6837\u7684\u7b56\u7565\u6a21\u578b\u597d\u5462\uff1f\u4e0d\u7981\u9677\u5165\u4e86\u56f0\u5883\u2026\u2026\u600e\u4e48\u529e\uff1f\u4e0d\u59a8\u5148\u6765\u542c\u542c\u6211\u4eec\u9879\u76ee\u7684\u6545\u4e8b\u5427\uff01<\/p>\n \u8fd8\u662f\u90a3\u4e2a\u84dd\u9cb8\u9879\u76ee\uff0c\u4e0d\u77e5\u4e0d\u89c9\u8fdb\u5165\u4e86\u7b2c\u4e5d\u4e2a\u5e74\u5934\u3002\u5728\u8fd9\u4e5d\u5e74\u91cc\uff0c\u968f\u7740\u4e1a\u52a1\u7684\u4e0d\u65ad\u53d1\u5c55\uff0c\u7cfb\u7edf\u67b6\u6784\u4e5f\u8fdb\u884c\u4e86\u591a\u6b21\u6f14\u8fdb\u548c\u8c03\u6574\u3002\u76f8\u5e94\u7684\uff0c\u6d4b\u8bd5\u7b56\u7565\u4e5f\u53d1\u751f\u4e86\u6709\u610f\u601d\u7684\u6f14\u8fdb\u53d8\u5316\u3002<\/p>\n <\/p>\n \u6700\u521d\u5355\u4e00\u7528\u6237\u7cfb\u7edf\u3001\u5355\u4f53\u67b6\u6784\u7684\u65f6\u5019\uff0c\u4e25\u683c\u6309\u7167\u6d4b\u8bd5\u91d1\u5b57\u5854\u6765\u7ec4\u7ec7\u5404\u5c42\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u3002\u968f\u7740\u529f\u80fd\u7684\u6269\u5c55\uff0c\u5927\u91cfmock\u7684\u5355\u5143\u6d4b\u8bd5\u7ed9\u91cd\u6784\u5e26\u6765\u4e86\u5f88\u5927\u7684\u4e0d\u4fbf\u3002<\/p>\n \u4f01\u4e1a\u7cfb\u7edf\u5f00\u59cb\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u6211\u4eec\u8c03\u6574\u4e86\u7b56\u7565\uff0c\u51cf\u5c11\u5355\u5143\u6d4b\u8bd5\u7684\u7f16\u5199\uff0c\u589e\u52a0UI\u5c42E2E\u6d4b\u8bd5\u7684\u8986\u76d6\uff0c\u6d4b\u8bd5\u7ed3\u6784\u7531\u539f\u6765\u7684\u91d1\u5b57\u5854\u6f14\u53d8\u6210\u4e0a\u9762\u68af\u5f62\u4e0b\u9762\u5012\u4e09\u89d2\u7684\u5f62\u5f0f\u3002<\/p>\n \u540e\u6765\uff0c\u67b6\u6784\u8c03\u6574\uff0c\u5f00\u59cb\u670d\u52a1\u5316\u3002\u6b64\u65f6\uff0c\u5927\u91cf\u7684E2E\u6d4b\u8bd5\u6e10\u6e10\u66b4\u9732\u51fa\u95ee\u9898\uff1a<\/p>\n \u56e0\u6b64\uff0c\u9879\u76ee\u5f15\u5165\u5951\u7ea6\u6d4b\u8bd5\uff0c\u505c\u6b62\u7f16\u5199\u65b0\u7684E2E\u6d4b\u8bd5\uff0c\u5c06\u6d4b\u8bd5\u4e0b\u79fb\uff0c\u5206\u522b\u7528API\u6d4b\u8bd5\u548c\u5951\u7ea6\u6d4b\u8bd5\u53d6\u4ee3\u3002<\/p>\n \u968f\u7740\u529f\u80fd\u7684\u4e0d\u65ad\u589e\u52a0\uff0c\u867d\u7136E2E\u6d4b\u8bd5\u7684\u91cf\u5e76\u4e0d\u589e\u52a0\uff0c\u4f46\u662f\u5176\u4e0d\u7a33\u5b9a\u6027\u3001\u7ef4\u62a4\u96be\u3001\u5b9a\u4f4d\u96be\u7684\u95ee\u9898\u6709\u589e\u65e0\u51cf\uff0c\u6b64\u65f6\u5df2\u7ecf\u5f88\u96be\u7531\u81ea\u52a8\u5316\u6d4b\u8bd5\u6765\u4fdd\u8bc1\u4ea7\u54c1\u7684\u8d28\u91cf\u3002\u4e3a\u4e86\u5e73\u8861\u6210\u672c\u548c\u6536\u76ca\uff0c\u9879\u76ee\u8003\u8651\u53bb\u6389\u5927\u90e8\u5206E2E\u6d4b\u8bd5\uff0c\u53ea\u4fdd\u7559\u5c11\u91cf\u7684Smoke\u6d4b\u8bd5\uff0c\u5c06\u66f4\u591a\u7684\u6d4b\u8bd5\u4e0b\u79fb\u3002<\/p>\n \u540c\u65f6\uff0c\u6280\u672f\u96f7\u8fbe\u4e0a\u65b0\u7684\u6280\u672f\u201c\u751f\u4ea7\u73af\u5883\u4e0b\u7684QA\u201d\u51fa\u73b0\uff0c\u9879\u76ee\u4e5f\u5f00\u59cb\u5173\u5fc3\u751f\u4ea7\u73af\u5883\uff0c\u5e76\u4e14\u5728QA\u6d4b\u8bd5\u9636\u6bb5\u7ed3\u5408\u5fae\u670d\u52a1\u7684\u7279\u70b9\u8fdb\u884c\u5bf9\u5e94\u7684\u63a2\u7d22\u5f0f\u6d4b\u8bd5\u3002<\/p>\n \u524d\u6587\u63d0\u5230\u8fc7\u5fae\u670d\u52a1\u5e26\u6765\u7684\u6311\u6218\uff0c\u4e0b\u9762\u6765\u770b\u9879\u76ee\u662f\u5982\u4f55\u5e94\u5bf9\u8fd9\u4e9b\u6311\u6218\u7684\u3002<\/p>\n \u5fae\u670d\u52a1\u67b6\u6784\u4e0b\uff0c\u72ec\u7acb\u5f00\u53d1\u7684\u670d\u52a1\u8981\u6574\u5408\u8d77\u6765\u6700\u5177\u6311\u6218\uff0c\u5982\u4f55\u4fdd\u8bc1\u670d\u52a1\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u548c\u8fde\u901a\u6027\u975e\u5e38\u5173\u952e\u3002\u524d\u9762\u5df2\u7ecf\u8bb2\u8fc7E2E\u96c6\u6210\u6d4b\u8bd5\u6709\u5f88\u5927\u7684\u6311\u6218\uff0c\u5e76\u4e0d\u9002\u5408\uff0c\u800c\u6d88\u8d39\u7aef\u9a71\u52a8\u7684\u5951\u7ea6\u6d4b\u8bd5\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u9879\u76ee\u6b63\u662f\u5229\u7528\u5951\u7ea6\u6d4b\u8bd5\u53bb\u4fdd\u8bc1\u670d\u52a1\u95f4\u7684\u8fde\u901a\u6027\uff0c\u53d6\u4ee3\u4e00\u90e8\u5206E2E\u96c6\u6210\u6d4b\u8bd5\u3002<\/p>\n \u5728\u7cfb\u7edf\u8d1f\u8377\u8fbe\u5230\u4e00\u5b9a\u7a0b\u5ea6\u6216\u8005\u67d0\u4e2a\u670d\u52a1\u51fa\u73b0\u6545\u969c\u7684\u65f6\u5019\uff0c\u5fae\u670d\u52a1\u67b6\u6784\u6709\u4e24\u79cd\u6280\u672f\u6765\u786e\u4fdd\u7cfb\u7edf\u7684\u53ef\u7528\u6027\uff1a\u670d\u52a1\u7684\u7194\u65ad\u548c\u964d\u7ea7\u3002\u670d\u52a1\u7684\u7194\u65ad\u662f\u6307\u5f53\u67d0\u4e2a\u670d\u52a1\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u7cfb\u7edf\u6574\u4f53\u7684\u53ef\u7528\u6027\uff0c\u4f1a\u5173\u95ed\u6389\u51fa\u73b0\u6545\u969c\u7684\u670d\u52a1\uff1b\u670d\u52a1\u7684\u964d\u7ea7\u5219\u662f\u5f53\u7cfb\u7edf\u6574\u4f53\u8d1f\u8377\u8fc7\u8f7d\u7684\u65f6\u5019\uff0c\u8003\u8651\u5173\u95ed\u67d0\u4e9b\u5916\u56f4\u670d\u52a1\u6765\u4fdd\u8bc1\u7cfb\u7edf\u7684\u6574\u4f53\u53ef\u7528\u6027\u3002<\/p>\n \u5bf9\u5e94\u7684\u6d4b\u8bd5\u5305\u62ec\uff1a<\/p>\n <\/p>\n \u6570\u636e\u4e00\u81f4\u6027\u662f\u5fae\u670d\u52a1\u7279\u522b\u9700\u8981\u5173\u6ce8\u7684\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u7535\u5546\u5e73\u53f0\u67d0\u4e2a\u8ba2\u5355\u652f\u4ed8\u6210\u529f\u4ee5\u540e\uff0c\u9700\u8981\u66f4\u65b0\u79ef\u5206\u548c\u8ba2\u5355\u72b6\u6001\uff0c\u5f53\u8ba2\u5355\u670d\u52a1\u6216\u8005\u79ef\u5206\u670d\u52a1\u5176\u4e2d\u6709\u4e00\u4e2a\u51fa\u73b0\u6545\u969c\u7684\u65f6\u5019\uff0c\u5c31\u4f1a\u5bfc\u81f4\u6700\u7ec8\u7684\u6570\u636e\u4e0d\u4e00\u81f4\u6027\u3002<\/p>\n \u6d4b\u8bd5\u8fd9\u79cd\u60c5\u51b5\uff0c\u4ece\u4e1a\u52a1\u7684\u89d2\u5ea6\u5206\u6790\u54ea\u4e9b\u670d\u52a1\u4f1a\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u6027\uff0c\u5236\u9020\u5bf9\u5e94\u7684\u5f02\u5e38\u60c5\u51b5\u53bb\u6d4b\u8bd5\u6570\u636e\u7684\u6700\u7ec8\u4e00\u81f4\u6027\u3002<\/p>\n \u5fae\u670d\u52a1\u7684\u72ec\u7acb\u90e8\u7f72\u9700\u8981\u6709CI\u3001CD\u7684\u652f\u6301\uff0c\u8ddfDevOps\u5b9e\u8df5\u5206\u4e0d\u5f00\u3002\u540c\u65f6\uff0c\u66f4\u4e3a\u5173\u952e\u7684\u662f\u9700\u8981\u5951\u7ea6\u6d4b\u8bd5\u6765\u9a8c\u8bc1\u72ec\u7acb\u90e8\u7f72\u540e\u670d\u52a1\u884c\u4e3a\u7684\u6b63\u786e\u6027\u3002\u9879\u76ee\u5728\u8fd9\u65b9\u9762\u7684\u5de5\u4f5c\uff0c\u8bf7\u53c2\u8003\u738b\u5065\u7684\u6587\u7ae0\uff1a\u4f60\u7684\u5fae\u670d\u52a1\u6562\u72ec\u7acb\u4ea4\u4ed8\u5417\uff1f<\/a><\/p>\n \u5fae\u670d\u52a1\u67b6\u6784\u4f7f\u5f97\u7cfb\u7edf\u590d\u6742\u5ea6\u589e\u52a0\u4e0d\u5c11\uff0c\u5f88\u591a\u7684\u4e8b\u60c5\u53d1\u751f\u90fd\u662f\u4e0d\u53ef\u9884\u6d4b\u7684\uff0c\u53ea\u80fd\u5728\u5176\u53d1\u751f\u4ee5\u540e\u627e\u5230\u4ea7\u751f\u7684\u539f\u56e0\u3002\u56e0\u6b64\uff0c\u4e5f\u5c31\u6ca1\u6cd5\u5728\u9884\u751f\u4ea7\u73af\u5883\u901a\u8fc7\u6d4b\u8bd5\u53bb\u53d1\u73b0\u5728\u771f\u5b9e\u751f\u4ea7\u73af\u5883\u624d\u4f1a\u53d1\u751f\u7684issue\uff0c\u6211\u4eec\u9700\u8981\u628a\u76ee\u5149\u8f6c\u79fb\u5230\u751f\u4ea7\u73af\u5883\uff0c\u5229\u7528\u751f\u4ea7\u73af\u5883\u7684\u4e0d\u786e\u5b9a\u6027\u3001\u5fae\u670d\u52a1\u7684\u4e0d\u53ef\u9884\u6d4b\u6027\u6765\u6784\u5efa\u53cd\u8106\u5f31\u7684\u7cfb\u7edf\u3002<\/p>\n \u9879\u76ee\u5728\u8fd9\u65b9\u9762\u4e3b\u8981\u91c7\u7528\u7684\u6280\u672f\u662f\u751f\u4ea7\u73af\u5883\u4e0b\u7684QA\uff0c\u8bf7\u53c2\u8003\u6587\u7ae0\uff1a\u751f\u4ea7\u73af\u5883\u4e0b\u7684QA<\/a><\/p>\n \u4ece\u524d\u9762\u4ecb\u7ecd\u7684\u6f14\u8fdb\u8fc7\u7a0b\u53ef\u4ee5\u770b\u5230\uff0c\u9879\u76ee\u6d4b\u8bd5\u7b56\u7565\u5728\u4e0d\u540c\u9636\u6bb5\u7ed3\u5408\u53c2\u8003\u4e86\u4e0d\u540c\u7684\u7b56\u7565\u6a21\u578b\uff1a\u91d1\u5b57\u5854->\u8fd1\u4f3c\u94bb\u77f3\uff08\u9664\u975e\u529f\u80fd\u6d4b\u8bd5\u5916\uff0c\u7c7b\u4f3c\u4e8e\u94bb\u77f3\u6a21\u578b\uff09->\u8702\u5de2\u3002\u540e\u671f\u5168\u9762\u670d\u52a1\u5316\u7684\u65f6\u5019\uff0c\u6211\u4eec\u8ba4\u4e3a\u8702\u5de2\u6a21\u578b\u662f\u6bd4\u8f83\u9002\u5408\u7684\u3002<\/p>\n \u5f53\u7136\uff0c\u5149\u6709\u7b26\u5408\u8fd9\u4e2a\u7b56\u7565\u6a21\u578b\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u662f\u8fdc\u8fdc\u4e0d\u591f\u7684\uff0c\u6211\u4eec\u9879\u76ee\u8fd8\u91c7\u7528\u4e86\u9488\u5bf9\u5fae\u670d\u52a1\u7279\u70b9\u7684\u63a2\u7d22\u5f0f\u6d4b\u8bd5\uff0c\u4fdd\u6301\u6301\u7eed\u4ea4\u4ed8\u8282\u594f\uff0c\u8df5\u884cDevOps\u5b9e\u8df5\uff0c\u7ed3\u5408\u751f\u4ea7\u73af\u5883\u4e0b\u7684QA\u7b49\u6280\u672f\u628a\u5173\u6ce8\u70b9\u53f3\u79fb\u5230\u751f\u4ea7\u73af\u5883\u3002<\/p>\n <\/p>\n \u73b0\u5728\uff0c\u9879\u76ee\u6574\u4f53\u6d4b\u8bd5\u7b56\u7565\u6f14\u53d8\u6210\u4e0b\u56fe\u7684\u5f62\u5f0f\uff1a<\/p>\n \u9879\u76ee\u4e0a\u591a\u6b21\u6d4b\u8bd5\u7b56\u7565\u7684\u8c03\u6574\uff0c\u770b\u4f3c\u5f88\u7b80\u5355\uff0c\u5176\u5b9e\u6bcf\u6b21\u8c03\u6574\u5e76\u4e0d\u662f\u4e00\u4e2a\u8f7b\u677e\u7684\u8fc7\u7a0b\uff0c\u90fd\u662f\u5e73\u8861\u5229\u5f0a\u3001\u7efc\u5408\u8003\u8651\u591a\u4e2a\u56e0\u7d20\u624d\u505a\u51fa\u7684\u51b3\u5b9a\u3002<\/p>\n \u5206\u6790\u6574\u4e2a\u8c03\u6574\u8fc7\u7a0b\uff0c\u6700\u540e\u7a81\u7136\u53d1\u73b0\uff1a\u5f53\u6211\u4eec\u9762\u5bf9\u591a\u4e2a\u7b56\u7565\u6a21\u578b\u4e0d\u77e5\u9053\u5982\u4f55\u9009\u62e9\u7684\u65f6\u5019\uff0c\u5176\u5b9e\u6211\u4eec\u9677\u5165\u4e86\u4e00\u4e2a\u592a\u8fc7\u4e8e\u5173\u6ce8\u6d4b\u8bd5\u7ed3\u6784\u7684\u8bef\u533a\uff0c\u5fd8\u8bb0\u4e86\u6700\u521d\u7684\u76ee\u6807\u662f\u4ec0\u4e48\u3002<\/p>\n \u8df3\u51fa\u8bef\u533a\uff0c\u56de\u5230\u539f\u70b9\uff0c\u91cd\u65b0\u601d\u8003\u6d4b\u8bd5\u7b56\u7565\u7684\u76ee\u6807\u3002\u5f71\u54cd\u7b56\u7565\u7684\u6700\u5173\u952e\u56e0\u7d20\u662f\u4e1a\u52a1\u4ef7\u503c\u3001\u8d28\u91cf\u8981\u6c42\u3001\u75db\u70b9\u3002<\/p>\n <\/p>\n \u5e26\u6765\u66f4\u5927\u7684\u4e1a\u52a1\u4ef7\u503c\u3001\u5e2e\u4f01\u4e1a\u8d62\u5f97\u66f4\u591a\u7684\u5229\u6da6\uff0c\u662f\u8f6f\u4ef6\u7cfb\u7edf\u7684\u76ee\u6807\uff1b\u8f6f\u4ef6\u6d4b\u8bd5\u662f\u8f6f\u4ef6\u7cfb\u7edf\u6210\u529f\u7684\u4fdd\u969c\u4e4b\u4e00\uff0c\u4e1a\u52a1\u4ef7\u503c\u4e5f\u662f\u6d4b\u8bd5\u7b56\u7565\u7684\u7ec8\u6781\u76ee\u6807\u3002\u6240\u6709\u6d4b\u8bd5\u6d3b\u52a8\u90fd\u8981\u56f4\u7ed5\u8fd9\u4e2a\u76ee\u6807\u5f00\u5c55\uff0c\u8003\u8651\u4e1a\u52a1\u4f18\u5148\u7ea7\uff0c\u6709\u6548\u89c4\u907f\u4e1a\u52a1\u98ce\u9669\u3002<\/p>\n \u4e0d\u540c\u7684\u7cfb\u7edf\u3001\u540c\u4e00\u7cfb\u7edf\u7684\u4e0d\u540c\u5229\u76ca\u5e72\u7cfb\u4eba\uff08\u53c2\u4e0e\u7684\u4e0d\u540c\u89d2\u8272\uff09\u5bf9\u4e8e\u8d28\u91cf\u7684\u5b9a\u4e49\u548c\u8981\u6c42\u90fd\u53ef\u80fd\u662f\u4e0d\u540c\u7684\uff0c\u8fd9\u6beb\u65e0\u7591\u95ee\u662f\u5f71\u54cd\u6d4b\u8bd5\u7b56\u7565\u7684\u4e00\u4e2a\u5173\u952e\u56e0\u7d20\u3002<\/p>\n \u5bf9\u4e8e\u4ec5\u6709\u5185\u90e8\u7528\u6237\u7684\u7cfb\u7edf\uff0c\u5173\u6ce8\u7684\u91cd\u5fc3\u53ef\u80fd\u662f\u7cfb\u7edf\u7684\u529f\u80fd\uff1b\u800c\u5bf9\u5916\u53d1\u5e03\u7684\u4ea7\u54c1\uff0c\u5219\u8981\u6c42\u66f4\u9ad8\uff0c\u4e00\u4e2a\u6309\u94ae\u4f4d\u7f6e\u7684\u4e0d\u6070\u5f53\u90fd\u53ef\u80fd\u5e26\u6765\u5927\u91cf\u7528\u6237\u7684\u6d41\u5931\u3002<\/p>\n \u771f\u6b63\u7684\u75db\u70b9\u5f80\u5f80\u4e5f\u662f\u4f18\u5148\u7ea7\u6700\u9ad8\uff0c\u8feb\u5207\u9700\u8981\u89e3\u51b3\u7684\u3002\u90a3\u4e9b\u53ef\u4ee5\u901a\u8fc7\u6d4b\u8bd5\u7b56\u7565\u7684\u8c03\u6574\u6765\u89e3\u51b3\u7684\u75db\u70b9\uff0c\u81ea\u7136\u6210\u4e3a\u4e86\u5173\u952e\u7684\u5f71\u54cd\u56e0\u7d20\u4e4b\u4e00\u3002\u6bd4\u5982\uff0cCI Pipeline\u51fa\u5305\u592a\u6162\uff0c\u4e3a\u4e86\u63d0\u9ad8\u51fa\u5305\u7684\u6548\u7387\uff0c\u4e00\u65b9\u9762\u5728Pipeline\u672c\u8eab\u60f3\u529e\u6cd5\uff0c\u53e6\u4e00\u65b9\u9762\u8c03\u6574\u81ea\u52a8\u5316\u6d4b\u8bd5\u7684\u6bd4\u4f8b\u3001\u6267\u884c\u9891\u7387\u7b49\u4e5f\u662f\u89e3\u51b3\u65b9\u6848\u4e4b\u4e00\u3002<\/p>\n \u5904\u5728\u4e0d\u540c\u9636\u6bb5\u7684\u9879\u76ee\uff0c\u5728\u4e1a\u52a1\u4ef7\u503c\u8fd9\u4e2a\u5927\u76ee\u6807\u4e0b\uff0c\u5176\u4ed6\u5f71\u54cd\u56e0\u7d20\u4e5f\u662f\u4f1a\u4e0d\u4e00\u6837\u7684\uff0c\u8ddf\u6280\u672f\u67b6\u6784\u7684\u6f14\u8fdb\u4e00\u6837\uff0c\u6d4b\u8bd5\u7b56\u7565\u4e5f\u5e94\u8be5\u662f\u6f14\u8fdb\u5f0f\u7684\u3002<\/p>\n <\/p>\n \u4ece\u76ee\u6807\u51fa\u53d1\uff0c\u7efc\u5408\u6240\u5904\u9636\u6bb5\u5404\u4e2a\u65b9\u9762\u7684\u5f71\u54cd\u56e0\u7d20\uff0c\u5236\u5b9a\u51fa\u9002\u5408\u5f53\u65f6\u7684\u6d4b\u8bd5\u7b56\u7565\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5bf9\u7b56\u7565\u8fdb\u884c\u8bc4\u4f30\u548c\u5ea6\u91cf\uff0c\u5e76\u8fdb\u4e00\u6b65\u6539\u8fdb\u3001\u63d0\u9ad8\uff0c\u4ee5\u66f4\u597d\u7684\u6ee1\u8db3\u9700\u6c42\u3002\u8fd9\u5c31\u662f\u76ee\u6807\u9a71\u52a8\u7684\u6f14\u8fdb\u5f0f\u6d4b\u8bd5\u7b56\u7565\u3002<\/p>\n \u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u591a\u4e2a\u670d\u52a1\u7684\u6574\u5408\u662f\u6700\u5177\u6709\u6311\u6218\u7684\uff0c\u5bf9\u6b64\u6700\u91cd\u8981\u7684\u662f\u5951\u7ea6\u6d4b\u8bd5\u3002\u5951\u7ea6\u6d4b\u8bd5\u6709\u6548\u4fdd\u8bc1\u670d\u52a1\u95f4\u7684\u5951\u7ea6\u5173\u7cfb\u4e0d\u88ab\u7834\u574f\uff0c\u786e\u4fdd\u670d\u52a1\u7684\u8fde\u901a\u6027\uff0c\u6709\u52a9\u4e8e\u5b9e\u73b0\u771f\u6b63\u7684\u72ec\u7acb\u90e8\u7f72\u548c\u72ec\u7acb\u4ea4\u4ed8\u3002<\/p>\n \u5fae\u670d\u52a1\u67b6\u6784\u5f15\u5165\u7684\u4e0d\u786e\u5b9a\u6027\u5e76\u4e0d\u662f\u574f\u4e8b\uff0c\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u4e0d\u786e\u5b9a\u6027\uff0c\u91c7\u7528\u751f\u4ea7\u73af\u5883\u4e0b\u7684QA\u7b49\u6280\u672f\uff0c\u589e\u5f3a\u7cfb\u7edf\u7684\u53cd\u8106\u5f31\u6027\uff0c\u4ece\u4e2d\u83b7\u76ca\u3002<\/p>\n \u6d4b\u8bd5\u7b56\u7565\u7684\u5f71\u54cd\u56e0\u7d20\u4e0d\u662f\u552f\u4e00\u7684\uff0c\u6280\u672f\u67b6\u6784\u5e76\u4e0d\u662f\u6700\u5173\u952e\u7684\u56e0\u7d20\u3002\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u6d4b\u8bd5\u7b56\u7565\u8ddf\u5176\u4ed6\u67b6\u6784\u4e0b\u7684\u5e76\u4e0d\u4f1a\u6709\u672c\u8d28\u7684\u533a\u522b\u3002<\/p>\n \u4e1a\u52a1\u4ef7\u503c\u59cb\u7ec8\u662f\u6211\u4eec\u7684\u7ec8\u6781\u76ee\u6807\u3002\u5728\u8fd9\u4e2a\u7ec8\u6781\u76ee\u6807\u7684\u9a71\u52a8\u4e0b\uff0c\u6d4b\u8bd5\u7b56\u7565\u4e0d\u662f\u5236\u5b9a\u5b8c\u4e86\u5c31\u53ef\u4ee5\u675f\u4e4b\u9ad8\u9601\u7684\uff0c\u9700\u8981\u5728\u6574\u4e2a\u8f6f\u4ef6\u7cfb\u7edf\u6784\u5efa\u8fc7\u7a0b\u4e2d\u4e0d\u65ad\u7684\u5ea6\u91cf\u548c\u6539\u8fdb\uff0c\u662f\u6f14\u8fdb\u5f0f\u7684\u3002<\/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":" \u672c\u6587\u5c06\u4ecb\u7ecd\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u8f6f\u4ef6\u6d4b\u8bd5\u7b56\u7565\uff0c\u5e76\u7ed3\u5408\u5206\u4eab\u5728\u4e1a\u52a1\u548c\u67b6\u6784\u6f14\u53d8\u8fc7\u7a0b\u4e2d\uff0c\u4e00\u4e2a\u5386\u7ecf\u8d85\u5341\u5e74\u7684\u9879\u76ee\u6d4b\u8bd5\u7b56\u7565\u7684\u6f14\u8fdb\u3002<\/p>\n","protected":false},"author":1,"featured_media":188,"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":[24,25,23,27,26],"class_list":["post-56","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-testing-and-quality","tag-24","tag-25","tag-23","tag-27","tag-26"],"yoast_head":"\n
\n01 \u5173\u4e8e\u5fae\u670d\u52a1<\/h3>\n
\n
\n
02 \u6d4b\u8bd5\u7b56\u7565\u7684\u9009\u62e9<\/h3>\n
03 \u9879\u76ee\u7684\u6545\u4e8b<\/h3>\n
1. \u6d4b\u8bd5\u7b56\u7565\u7684\u6f14\u8fdb<\/h4>\n
\n
2. \u5e94\u5bf9\u5fae\u670d\u52a1\u7684\u6311\u6218<\/h4>\n
\n
\n
\n
\n
\n
\n
3. \u9879\u76ee\u6d4b\u8bd5\u7b56\u7565<\/h4>\n
\n
04 \u6d4b\u8bd5\u7b56\u7565\u518d\u601d\u8003<\/h3>\n
1. \u5f71\u54cd\u6d4b\u8bd5\u7b56\u7565\u7684\u56e0\u7d20<\/h4>\n
\n
\n
\n
2. \u6f14\u8fdb\u5f0f\u6d4b\u8bd5\u7b56\u7565<\/h4>\n
05 \u603b\u7ed3<\/h3>\n
\n