UiPath Documentation
activities
latest
false
工作流活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

测试用例包括太多分支

规则 ID:TA-DBP-007 作用域:工作流 此规则用于检查测试用例是否使用任何 If 语句。

规则 ID:TA-DBP-007

作用域:工作流

描述​

此规则检查测试用例是否正在使用任何 If 语句。 默认设置为 0。 这适用于以下活动:

  • IF条件
  • 切换
  • 流程决策
  • 流程切换
    重要提示:

    You can apply this rule only for test cases that have been published. This helps you to exclude template files or temporary backups.

建议​

考虑通过一次仅测试特定流程的一个变体来确定特定的测试重点和明确的结果。

配置规则​

  1. In the Design ribbon, navigate to Analyze File > Workflow Analyzer Settings.

  2. Go to Workflow Analyzer to view the rules.

  3. 选择“测试用例包括太多分支”并配置默认操作。

  4. Set a Maximum Number of Allowed Branches value.

  5. 单击“确定”以保存更改。

重置为默认值​

To reset the rule to the default configuration, right-click it and select Reset to default. This resets the "Maximum Number of Allowed Branches" to 0.

  • 描述​
  • 建议​
  • 配置规则​
  • 重置为默认值​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新