我正在尝试对使用google Volley库的项目运行roboelectric,当我尝试使用简单的字符串检查来运行测试项目时,我总是得到相同的错误 at org.robolectric.AndroidManifest.getRClass(AndroidManifest.java:79)
at org.robolectric.AndroidMani
Robolectric似乎是一个非常有趣的替代android应用程序测试,但我不能正确地集成到我的Eclipse环境中。使用最新的Robolectrial2.1版和android sdk 8,我遵循了robolectric网站上描述的Eclipse设置步骤,但没有成功。当我运行新创建的运行配置时,测试停止,错误如下。WARNING: no system properties value for ro.build.date.utc
java.lang.RuntimeException: java.lang.ClassNotFoundE
我试图在Robolectric中构建一个活动,但由于未能膨胀活动的XML,它失败了。我已经包括了以下的冒犯组件。我还没能在网上找到满意的答案。 .withIntent(intent)Caused by: java.lang.RuntimeException: no value for android:attr/indeterminateProgres
RobolectricTestRunner.java:455)Caused by: java.lang.ExceptionInInitializerError ... 34 more
Caused by: java.lang.RuntimeException: No shadows modulesfound containing a org.<e