Code Monkey home page Code Monkey logo

Comments (7)

ktrothschild-liifzeng avatar ktrothschild-liifzeng commented on August 21, 2024

failed
summary

from cafe.

rainy1216 avatar rainy1216 commented on August 21, 2024

LiifZeng,可不可以给个联系方式,我有问题请教

from cafe.

ktrothschild-liifzeng avatar ktrothschild-liifzeng commented on August 21, 2024

这里放我的邮箱比较妥当吧。[email protected]

from cafe.

luxiaoyu avatar luxiaoyu commented on August 21, 2024

介于楼主的目标app的情况(连续跑case夯住),建议在跑case时每条case即test_XXX()一个am instrument命令运行,外面用一个脚本套起来,这样就不会夯住了。
报告的问题可以这样解决,每个case运行完都会生成junit.xml,把它pull出来,然后在所有case运行完毕后用脚本merge成整体的测试报告。
其实我以前就想提供merge测试报告的功能,一直没动手做。。

from cafe.

ktrothschild-liifzeng avatar ktrothschild-liifzeng commented on August 21, 2024

谢谢xiaoyu给出的建议。我现在是把用例做成一个个apk,放在服务器,手机端启个service通过socket和我的自动化测试任务管理平台通信,手机上报自己的ip和mac和运行状态(运行/闲置)。平台发送任务之后手机自动下载测试用例,am instrument的方式在手机端自动执行,完全抛开了pc端。报告也是在service中收集和整理,然后发回服务器。现在做的还不稳定。。。

from cafe.

luxiaoyu avatar luxiaoyu commented on August 21, 2024

模式不错,自动下载测试apk执行。
提个改进意见,可以改成自动下载测试代码段,然后动态加载执行,这样下载量很小,速度自然就快了

from cafe.

ktrothschild-liifzeng avatar ktrothschild-liifzeng commented on August 21, 2024

谢谢!用这个办法的话在instrument命令里面也可以少很多参数。

from cafe.

Related Issues (20)

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.