我们可以对配音进行自动化测试吗? [英] Can we perform automation testing on voice overs?
问题描述
我想验证我的应用上的语音提示我可以自动配音还是只能手动完成?
I want to validate what voice over says on my app Can i automate voice overs or it can be done only manually?
推荐答案
1/.使用 Unit Tests
来检查可访问元素的所有属性(标签,提示,特征...).
1/. Use Unit Tests
to check every property of your accessible elements (label, hint, trait...).
2/.查看专门用于iOS的 DEQUE解决方案.
2/. Take a look at the DEQUE solution dedicated to iOS.
3/. GTXiLib
开源框架是即使是用ObjC编写的,也是一个很好的解决方案.:o)
3/. The GTXiLib
open source framework is also a good solution even if it's written in ObjC. :o)
但是,UI测试(Xcode 10,iOS 12)不在讨论之列,因为例如自定义操作无法访问.
However, UI Testing (Xcode 10, iOS 12) is off the table because custom actions for instance are unreachable.
看看苹果工程师在WWDC 2019期间给出的此答案.
Take a look at this answer given by an Apple engineer during the WWDC 2019.
这篇关于我们可以对配音进行自动化测试吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!