|
Post by ratna568 on May 16, 2024 6:23:13 GMT
所述,管道确定要测试哪些管道并将测试结果返回给客户端,但它本身并不运行测试。相反,它为每个正在测试的管道调用_管道。下面介绍了该行动方案。它执行以下操作。读取预期结果参数化为<_>_)——在我们的例子中是从文件_请参阅前面的章节)。读取输入测试数据参数化为<_>_)——在我们的例子中是从文件_读取请参阅前面的章节)。执行目标管道参数化为<_>_)在我们的例子中,使用管道执行快照标记为测试管道)从文件_参见前面的章节)执行使用差异快照将预期结果数据与基于执行管道的实际结果_与_测试数据)进行比较。差异快照将每行显示为已删除、已插入、已修改或未修改。仅当所有行均未修改视图标记为“成功”)时,测试才会被视为成功。 将单个测试结果返回到父管道)图:管道_图:管道_。上述流程和指南已根据要求和政策得到测试经理和/工程师以及整个集成团队的批准。可能还有其他测试例如性能测试和功能测试超出了该职位的范围。注意:您将在本文后面看到单元测试和质 葡萄牙 电话号码 量检查的结果。如果所有测试都通过并且脚本成功,则执行/设置中的下一步和作业调用脚本。脚本是/工程师和安全经理之间达成一致的。安全管理器要求将一组规则和策略应用于要发布到生产中的管道和其他资产。这些政策可能包括管道、捕捉标签或其他属性的命名约定禁止的快照中禁止使用的参数对于,安全官提供以下策略以格式定义)[{“类”:“d”,“条件”:假}{“类”:“”,“条件”:真实,“设置”:[{“名称”:“密码模式”,“允许值”:“”}]}]事实上,上述政策的目的是避免在生产组织中使用“记录重播快照”选项。 是一家经过严格审核的公司,不允许将客户数据存储在持久存储介质上。如果加密模式设置未设置为,请避免使用加密快照选项。实施了全公司范围的安全策略,即加密时仅使用模式。此策略意味着任何d或没有作为加密模式)都不会被允许投入生产。为此,脚本将调用触发任务,根据策略文档检查受影响的管道,如果违反策略,则作业失败。脚本如下所示。图:运行触发任务的脚本图:运行触发任务的脚本。脚本调用的触发任务会执行管道,如下所示。其逻辑类似于上面介绍的管道的逻辑。受影响项目所有管道清单对于每个管道,使用管道执行快照标记为“检查质量”)运行管道_。计算成功管道的数量将通过的检查数与检查总数进行比较,然后向客户端发送响应,其中包含通过的检查数和失败的检查数,以及测试失败的原因。
|
|