【问题标题】:Is there any kind of order for xcode 8 to execute UI Test cases?xcode 8 执行 UI 测试用例有什么命令吗?
【发布时间】:2016-11-16 17:07:51
【问题描述】:

在 xcode 7 中,当启动多个测试用例时,执行测试用例的顺序是按字母或数字顺序排列的。 例如。

  • test3()
  • test9()
  • test6()
  • test5()
  • test7()
  • test4()
  • test8()

这些案件将按3-4-5-6-7-8-9的顺序执行

现在 xcode 8 测试用例似乎以随机顺序开始。 我的问题是:是否有一些设置或如何使它运行测试是一些命令。

【问题讨论】:

标签: ios xcode8 xcode-ui-testing


【解决方案1】:
  1. 测试应该能够以随机顺序运行。
  2. 根据this answer:命令行和Xcode的测试顺序不同。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-03-19
    • 1970-01-01
    • 1970-01-01
    • 2017-02-12
    • 2015-10-14
    • 2018-06-01
    • 2018-09-05
    • 2023-03-16
    相关资源
    最近更新 更多