51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4076|回复: 1
打印 上一主题 下一主题

[求助] robotium android junit test出现Test run failed: No test results

[复制链接]
  • TA的每日心情

    2017-6-1 20:09
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2017-6-1 20:19:00 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
    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

    请各位高手们指点一下,谢谢!!!
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-16 07:43 , Processed in 0.071064 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表