博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
UI集成测试运行说明
阅读量:6905 次
发布时间:2019-06-27

本文共 813 字,大约阅读时间需要 2 分钟。

UI集成测试运行说明

1、环境配置

1.1、android studio导入项目工程AutoHome-Android;mayi分支; demo moudel。

1.2、依赖配置

dependencies {compile fileTree(include: ['*.jar'], dir: 'libs')androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {    exclude group: 'com.android.support', module: 'support-annotations'})androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'    testCompile 'junit:junit:4.12'。。。

}

1.3、运行方式

1.3.1、单一脚本运行方式如图

UI集成测试运行说明
1.3.2、组合嵌套运行:
脚本如下

/** * Created by lichong on 2017/9/13. * * @ Email lichongmac@163.com */@RunWith(Suite.class)@Suite.SuiteClasses({AllBugs.class        , AllActivity.class        ,AllMutalTest.class        ,DownUITest.class})public class AllTest {}

运行方式如下图所示:

UI集成测试运行说明

联系我

QQ:492717776

Email:lichongmac@163.com

支付宝打赏:

微信打赏:

公众号推荐:

UI集成测试运行说明

转载于:https://blog.51cto.com/4789781/2116051

你可能感兴趣的文章
ubuntu限制本地网速
查看>>
div浮动层
查看>>
那些年我用awk时踩过的坑——awk使用注意事项
查看>>
逻辑卷LVM 应用之详解! VG LV用法 !
查看>>
服务器遇到大流量***的处理过程
查看>>
shell 必备典型脚本 30道
查看>>
java中的关键字和保留字
查看>>
Linux下的tar压缩解压缩命令详解
查看>>
python中的常用模块
查看>>
linux 学习笔记 防火墙设置
查看>>
Reverse Linked List II
查看>>
upc组队赛1 不存在的泳池【GCD】
查看>>
操作系统概念小结(1)
查看>>
计算两个日期相差年月日
查看>>
py QScrollArea
查看>>
centos 6 升级gcc
查看>>
Maatkit--Mysql的高级管理工具
查看>>
主要的开源镜像站点资源
查看>>
白酒防伪标签生产防窜货二维码制作印刷公司
查看>>
APP测试工具
查看>>