51Testing软件测试论坛

标题: robotium android junit test出现Test run failed: No test results [打印本页]

作者: 流浪的风月    时间: 2017-6-1 20:19
标题: robotium android junit test出现Test run failed: No test results
eclispe中导入源码后,新建测试工程,进行android junit test出现以下问题:
[2017-06-01 20:04:45 - AndroidCalculatorTest] Android Launch!
[2017-06-01 20:04:45 - AndroidCalculatorTest] adb is running normally.
[2017-06-01 20:04:45 - AndroidCalculatorTest] Performing android.test.InstrumentationTestRunner JUnit launch
[2017-06-01 20:04:45 - AndroidCalculatorTest] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2017-06-01 20:04:48 - AndroidCalculatorTest] WARNING: Unknown device API version!
[2017-06-01 20:04:48 - AndroidCalculatorTest] Uploading AndroidCalculatorTest.apk onto device '192.168.115.101:5555'
[2017-06-01 20:04:48 - AndroidCalculatorTest] Installing AndroidCalculatorTest.apk...
[2017-06-01 20:04:49 - AndroidCalculatorTest] Success!
[2017-06-01 20:04:49 - AndroidCalculatorTest] Project dependency found, installing: AndroidCalculator
[2017-06-01 20:04:49 - AndroidCalculator] Uploading AndroidCalculator.apk onto device '192.168.115.101:5555'
[2017-06-01 20:04:49 - AndroidCalculator] Installing AndroidCalculator.apk...
[2017-06-01 20:04:49 - AndroidCalculator] Success!
[2017-06-01 20:04:49 - AndroidCalculatorTest] Launching instrumentation android.test.InstrumentationTestRunner on 192.168.115.101:5555
[2017-06-01 20:04:50 - AndroidCalculatorTest] Test run failed: No test results

请各位高手们指点一下,谢谢!!!
作者: wanglingmei    时间: 2018-9-18 10:57
解决了吗




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2