Coder Social home page Coder Social logo

monkeytest4ios's Introduction

MonkeyTest4iOS

一、介绍

MonkeyTest4iOS是一款全天候·全流程自动化·无人值守的iOS APP Crash抓取小能手工具。

二、特点

2.1支持自动打包并直接安装到iPhone设备上,持续更新APP持续测试;

2.2支持提供最后10s操作截图PNG文件,方便定位在哪个界面出现Crash;

2.3支持提供解析后的Crash文件,方便定位哪些代码出现问题;

2.4支持把Crash和PNG文件以附件形式自动发邮件给对应APP开发;

2.5支持APP自动登陆功能。

三、组成

3.1 Jenkins

3.2 Fruitstrap:实现命令行把最新IPA包更新到iPhone设备上

3.3 CrashMonkey4iOS:CrashMonkey4IOS

3.4 Pngquant:近乎无损压缩PNG图片大小减少70%左右

3.5 Xcode

3.6 UIAutomation:实现自动登陆功能

3.7 使用python发邮件:实现自动发邮件功能

3.8 Shell脚本

四、shell脚本说明

4.1 AppName_iOS_Monkey_Branch_Build.sh 是定时打包使用Fruitstrap把ipa包安装到iPhone设备上的脚本;

4.2 AppName_MonkeyKing_Test.sh 是执行自动登录功能和运行CrashMonkey4iOS的脚本;

4.3 Auto_Handle_Crash.sh 是自动处理Crash并发送邮件的脚本;

以上脚本仅是示例和思路,需要根据具体情况去修改,同时也欢迎各位大神有更好的思路分享。

五、参考文献

https://github.com/vigossjjj/CrashMonkey4IOS;

https://github.com/ghughes/fruitstrap;

https://pngquant.org/;

monkeytest4ios's People

Contributors

onesir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.