Android 集成Robolectric下的一些坑

Robolectric的使用的一些坑 Robolectric能够很是方便的模拟Android环境进行单元测试,JUnit只能进行java的单元测试,因此对于想要非真机或者模拟器测试便衍生出来了Robolectricjava Github:https://github.com/robolectric/robolectricandroid 集成方式: 添加依赖 :git testCompile 'or
相关文章
相关标签/搜索