Git Product home page Git Product logo

Comments (8)

zhangzhao4444 avatar zhangzhao4444 commented on August 29, 2024

麻烦描述下现象,有无跳出app?

from fastmonkey.

kekexiaoxiami avatar kekexiaoxiami commented on August 29, 2024

我这里也会出现这个问题,其实是我自己本地写了一个崩溃,在发生崩溃的时候就出现了 Terminating app due to uncaught exception '_XCTestCaseInterruptionException', reason: 'Interrupting test'这个错误提示

from fastmonkey.

zhangzhao4444 avatar zhangzhao4444 commented on August 29, 2024

@kekexiaoxiami 你这个是正常的,待测app crash时会生成dump 然后xcode 就会认为run case 失败了就 报错误提示。
@hujiachun 问题不一样,他那个assertion MonkeyXCTest.swift:47: 是monkey crash了,当然xcode也会认为run失败,打印log类似的。 如果是发生在切回app 则有可能是个已知的缺陷。原因是app退的太慢了,退出检测已经完成而开始接下来的job,然后此时恰恰app退出了,application不存在所以crash

from fastmonkey.

kekexiaoxiami avatar kekexiaoxiami commented on August 29, 2024

@zhangzhao4444 那这种情况下直接就Test Failed了,只能重新启动xcodebbuild重新进行test,有没有好一点的方式可以ignore crash能够继续跑monkey,直到手动或者点击次数足够之后将其停掉呢?

from fastmonkey.

zhangzhao4444 avatar zhangzhao4444 commented on August 29, 2024

不对。。我记错了crash完app退出,退出检测到的话还会拉活然后继续跑的,论坛里zwdlp520 是你吗? crash完的log 我看了,t = 42.96s napshot accessibility hierarchy for com.xxx 本质上也是同一个缺陷引起的

from fastmonkey.

kekexiaoxiami avatar kekexiaoxiami commented on August 29, 2024

@zhangzhao4444 论坛里zwdlp520 是我,那原因就可能是一样的,因为我也遇到了Failed to get snapshot within 15.0s的问题

from fastmonkey.

hujiachun avatar hujiachun commented on August 29, 2024

@zhangzhao4444 没有跳出App, 报错就停止发送命令了

from fastmonkey.

zhangzhao4444 avatar zhangzhao4444 commented on August 29, 2024

@kekexiaoxiami @hujiachun 可以升到xcode9试试新方法 看还会崩溃吗

from fastmonkey.

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.