您的位置:首页 > 移动开发 > Android开发

这里收集了一些Android单元测试相关的文章

2017-07-19 15:21 435 查看


这里收集了一些Android单元测试相关的文章


Android
Testing Support Library文档

Espresso文档 https://google.github.io/android-testing-support-library/docs/espresso/index.html Espresso cheat sheet图pdf链接 https://google.github.io/android-testing-support-library/downloads/espresso-cheat-sheet-2.1.0.pdf

UI Automator文档 https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html

AndroidJUnitRunner文档 https://developer.android.com/topic/libraries/testing-support-library/index.html#AndroidJUnitRunner

Android Testing Samples https://google.github.io/android-testing-support-library/samples/index.html


小创的单元测试系列文章

关于安卓单元测试,你需要知道的一切 http://chriszou.com/2016/06/07/android-unit-testing-everything-you-need-to-know.html 演讲PPT链接 http://s17.mogucdn.com/new1/v1/bmisc/8e35bea4d4af0b7816e0dce0f0d39024/175107743310.pdf

该系列文章源码github地址:android-unit-testing-tutorial https://github.com/ChrisZou/android-unit-testing-tutorial robolectric框架demo地址:robolectric-demo https://github.com/ChrisZou/robolectric-demo

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单元测试在蘑菇街支付金融部门的实践 http://chriszou.com/2016/04/25/android-unit-testing-wechat-group-share.html

转自: https://github.com/zhaozepeng/Android-Knowledge-Base/blob/master/android%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95.md[/code] 
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: