Skip to content

对 jessyan mvpArms 框架的进行Robolectric 网络单元测试的解耦,如果用这框架可以看看。

License

Notifications You must be signed in to change notification settings

drchengit/Robolectric_arm_mvp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

522dcc0 · Aug 12, 2019

History

8 Commits
Apr 16, 2019
Apr 16, 2019
Aug 9, 2019
Aug 9, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019
Aug 12, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019
Apr 16, 2019

Repository files navigation

一直在用jessyan 的快速构架框架
但是他的dagger2和生命周期用得飞起,在做单元测试时困难重重,尤其是象我这种测试小萌新,跟本不知道测试时何物,国内的资料和文档又太少。
做测试时,常常怀疑是不是配置出了问题;以我的能力能不能在这个框架成功把Robolectric单元测试做下来。
所幸经历了几天的痛苦,大量的goolge和百度,最后还是做出来了,希望看到的小伙伴能从我的博文和代码中找到一点解耦方面的灵感。
如果有用别忘了star哦!

Robolectric_arm_mvp

对 jessyan arm mvp 框架的进行Robolectric 网络单元测试的解耦,如果用这框架可以看看。
Robolectric 实战解耦整个系列:
Robolectric 之 Jessyan Arm框架之Mvp 单元测试解耦过程(View 层)
Robolectric 之 Jessyan Arm框架之Mvp 单元测试解耦过程(Presenter 层)
Robolectric 之 Jessyan Arm框架之Mvp 单元测试本地json测试
github的链接: https://github.com/drchengit/Robolectric_arm_mvp
测试资源放送

我是drchen,一个温润的男子。

About

对 jessyan mvpArms 框架的进行Robolectric 网络单元测试的解耦,如果用这框架可以看看。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages