Comments (8)
麻烦描述下现象,有无跳出app?
from fastmonkey.
我这里也会出现这个问题,其实是我自己本地写了一个崩溃,在发生崩溃的时候就出现了 Terminating app due to uncaught exception '_XCTestCaseInterruptionException', reason: 'Interrupting test'这个错误提示
from fastmonkey.
@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.
@zhangzhao4444 那这种情况下直接就Test Failed了,只能重新启动xcodebbuild重新进行test,有没有好一点的方式可以ignore crash能够继续跑monkey,直到手动或者点击次数足够之后将其停掉呢?
from fastmonkey.
不对。。我记错了crash完app退出,退出检测到的话还会拉活然后继续跑的,论坛里zwdlp520 是你吗? crash完的log 我看了,t = 42.96s napshot accessibility hierarchy for com.xxx 本质上也是同一个缺陷引起的
from fastmonkey.
@zhangzhao4444 论坛里zwdlp520 是我,那原因就可能是一样的,因为我也遇到了Failed to get snapshot within 15.0s的问题
from fastmonkey.
@zhangzhao4444 没有跳出App, 报错就停止发送命令了
from fastmonkey.
@kekexiaoxiami @hujiachun 可以升到xcode9试试新方法 看还会崩溃吗
from fastmonkey.
Related Issues (20)
- (环境部署) Missing required module 'libxml2' 异常. HOT 1
- 能不能控制某个区域的点击概率 HOT 1
- Xcode9.4 carthage update failed HOT 1
- xcode 9.4.1 不支持 iOS系统版本11 HOT 1
- Xcode9.3以上,编译XCTestWDUITests报错:libxml2模块Redefinition
- 执行完成后,test fail HOT 2
- 如何同时执行多个monkey test? HOT 1
- recordFailure HOT 2
- 怎么通过wdaproxy方式获取ip+port后,实现monkey执行? HOT 1
- Error connecting to device
- 在Xcode10.2中运行报错 HOT 6
- Xcode 9.4 Build Failed HOT 1
- 询问一下Fastmonkey工具的升级计划 HOT 5
- XCTestWDRunner报错 HOT 2
- 日志文件:(1)Discarding message buffer is full (2)Rotating message buffer with XXX messages
- 如何控制电机频率及跳过某个页面
- xcode 11 运行错误 HOT 10
- FastMonkey中添加网络请求代码会失败
- 关于Monkey日志的保存路径如何自定义的问题
- XCTestWDUITests目录是指那个? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastmonkey.