自动化测试,自动化测试框架,持续集成

> 基于Espresso和Dagger的自动化测试框架
 测试框架能够使用Android推荐的Espresso. 模拟数据能够使用Dagger2, 一种依赖注入框架.Dagger2没有使用反射, 而是使用预生成代码, 提升执行速度.
 基于Espresso和Dagger的自动化测试框架- https://github.com/SpikeKing/wcl-espresso-dagger-demo
 Sample application that shows how Dagger can be used to substitute dependencies with test  doubles in Espresso tests to have robust and reliable functional tests - https://github.com/Egorand/android-espresso-dagger-testingpython

> 持续集成与自动化测试,自动化测试框架macaca Cafe等
-- 在开发与测试之间,开发团队注重CI而很难实践的是Unit Test,测试团队则更注重CT而很难实践是UI automatic Tests。
 1.Unit Tests:通常状况下由开发团队完成,固然,若是有测试开发团队,这部分的内容会有开发团队与测试开发团队一同完成。
 2.API Tests:由测试团队完成。这是重点,当下提供比较多的都是HTTP API,相对稳定,适合自动化测试。
 3.UI Tests:GUI测试,由测试团队完成。在这个模型中该部分所占比例最少。android

-- macaca 是阿里开源的完整自动化测试解决方案,该方案可以支持移动端和PC端,同时也支持Native,Hybrid,H5等多种应用类型而且能提供客户端工具和持续集成服务。
Automation test solution for native, hybrid, mobile web and web application on mobile and desktop platforms.多端自动化测试解决方案- https://github.com/alibaba/macaca https://macacajs.github.io/git

Macaca test sample for Python https://macacajs.github.io/python
  https://github.com/macaca-sample/sample-pythongithub

> 移动测试工程师必须知道的10个开源框架- https://www.jianshu.com/p/701332a25c08
-- 自动化测试框架
Appium是一个开源的跨平台移动端UI自动化测试框架,它支持native,hybrid和web app的测试- https://github.com/appium/appiumweb

Cafe,是一款来自百度QA部门的Android平台自动化测试框架,框架覆盖了Android自动化测试的各类需求,致力于实现跨进程测试、快速测试、深度测试,解决了Android自动化测试中的诸多难题,好比业界一直没有解决的跨进程测试问题。主要亮点有:基于hook录制体系,遍历测试,跨app测试,pc agent设计,使用android 漏洞提权-https://github.com/BaiduQA/Cafe安全

Athrun 无线测试框架是淘宝自动化测试团队开发的UI自动化测试框架,支持Android和iOS移动App的UI自动化测试-https://github.com/taobao-chenxu/athrun-framework
阿里巴巴自动化测试框架Athrun- http://code.taobao.org/svn/athrun/trunk/android网络

-- 性能测试框架
Emmagee是一个实用的手工Android端性能测试工具,它能够实时监控Android App的CPU,内存,网络流量,电量等。若是手机Root的话,还能够监控top activity及堆信息。此外,它还能根据用户须要设置收集数据的时间间隔。最终以csv文件的方式将报告保存在本地。-https://github.com/NetEase/Emmageeapp

Tencent APT Mirror, APT是一个Android平台高效性能测试组件,提供丰富实用的功能,适用于开发自测、定位性能瓶颈;测试人员完成性能基准测试、竞品对比测试。APT是一个eclipse插件,能够实时监控Android手机上多个应用的CPU、内存数据曲线,并保存数据;另外还支持自动获取内存快照、PMAP文件分析等,方便开发人员自测或者测试人员完成性能测试,快速发现产品问题-https://github.com/stormzhang/APT框架

-- 稳定性测试框架
CrashMonkey4IOS是一个iOS稳定性测试工具-https://github.com/vigossjjj/CrashMonkey4IOSeclipse

CrashMonkey4Android,是一个依靠Cts框架,对原生Monkey进行改造后的产物- https://github.com/DoctorQ/CrashMonkey4Android

UI AutoMonkey是一个简单的面向iOS应用程序的压力测试插件框架- https://github.com/jonathanpenn/ui-auto-monkey

-- 安全测试框架
Mobile Security Framework (移动安全框架) 是一款智能、一体化的开源移动应用(Android/iOS)自动渗透测试框架,它能进行静态、动态的分析- https://github.com/penghaibo203/Mobile-Security-Framework-MobSF

AndroBugs框架是一款高效的Android漏洞扫描器,能够帮助开发人员或渗透测试人员在Android应用程序查找潜在的安全漏洞- https://github.com/jackcn2004/AndroBugs_Framework

移动端App测试的开源框架- https://github.com/penghaibo203  开源框架也不是万能的,咱们的目的是搞懂它们的原理,根据本身的须要来改进和优化,不要作伸手党。