小编qa *_* or的帖子

我现在如何使用@FlakyTest注释?

我尝试在Android Studio上使用espresso框架(和Junit4)进行片状测试.

我想设置重复次数.在我可以使用之前

@FlakyTest(公差= 5)

//(例如,5是重复的数字)

但是这个注释在API级别24中已被弃用. - (在android.developers.com上链接)

现在有了新的@FlakyTest注释 - 没有容差变量.(链接在android.developers.com上)

我需要设置多少次测试可以重复,但不知道怎么做.任何的想法?

junit android android-testing android-espresso android-instrumentation

8
推荐指数
1
解决办法
1033
查看次数