Android单元测试

来源:互联网 发布:mac 打开隐藏文件 编辑:程序博客网 时间:2024/06/04 01:08

一个大神写的,很棒的文章,与大家分享

Android单元测试: 首先,从是什么开始(一)http://chriszou.com/2016/04/13/android-unit-testing-start-from-what.html

Android单元测试(二):再来谈谈为什么     http://chriszou.com/2016/04/16/android-unit-testing-about-why.html

Android单元测试(三):JUnit单元测试框架的使用  http://chriszou.com/2016/04/18/android-unit-testing-junit.html

Android单元测试(四):Mock以及Mockito的使用 http://chriszou.com/2016/04/29/android-unit-testing-mockito.html

Android单元测试(五):依赖注入,将mock方便的用起来 http://chriszou.com/2016/05/06/android-unit-testing-di.html

Android单元测试(六):使用dagger2来做依赖注入,以及在单元测试中的应用 http://chriszou.com/2016/05/10/android-unit-testing-di-dagger.html

Android单元测试(七):Robolectric,在JVM上调用安卓的类  http://chriszou.com/2016/06/05/robolectric-android-on-jvm.html

安卓单元测试(八):Junit Rule的使用  http://chriszou.com/2016/07/09/junit-rule.html

安卓单元测试(九):使用Mockito Annotation快速创建Mock  http://chriszou.com/2016/07/16/mockito-annotation.html

Android单元测试(十):DaggerMock:The Power of Dagger2, The Ease of Mockito  http://chriszou.com/2016/07/24/android-unit-testing-daggermock.html

安卓单元测试(十一):异步代码怎么测试  http://chriszou.com/2016/08/06/android-unit-testing-async.html