我在使用他们的Android SDK时对Facebook的每个连接都收到此异常.EasyTracker的GAThread也产生了这个确切的问题.
6960-6985/? A/libc? Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 6985 (Timer-0)
608-669/? E/InputDispatcher? channel '42867090 com.packagename/com.packagename.activities.feed.FeedActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
Run Code Online (Sandbox Code Playgroud)
我该如何解决?
我现在使用黄瓜已经有一段时间了,现在我想将测试套件的使用情况从maven迁移到gradle.
我设法准备项目,包括基本用法,运行测试,结果等.我遗漏的最后一块是只能运行在特定标签上过滤的测试.运行验收测试是通过产品风格完成的:
productFlavors {
uats {
testInstrumentationRunner "com.paddy.cuespton.cuespton.test.Instrumentation"
}
full {
applicationId "com.paddy.app.cuespton"
versionName "1.0"
}
}
Run Code Online (Sandbox Code Playgroud)
这使我能够使用任务运行测试:
./gradlew connectedAndroidTestUatsDebug
Run Code Online (Sandbox Code Playgroud)
是否可以将param with tag添加到此任务以仅运行特定测试?
我尝试使用 https://github.com/samueltbrown/gradle-cucumber-plugin/插件,理论上应解决此问题,但由于语言不兼容,我无法使用Android运行.
这是我工作的回购, https://github.com/paddyzab/espresso-cucumber-sandbox.
感谢帮助!