Android-开发自测相关-第三方开源

开发自测相关

  1. Quality Tools for Android
    Android 测试及自测工具集合和示例
    项目地址:https://github.com/stephanenicolas/Quality-Tools-for-Android

  2. android-test-kit
    Google 的 Android 测试工具
    包括 GoogleInstrumentationTestRunner(增强版的 InstrumentationTestRunner)和 Espresso(用于快速写出可靠测试用例的 API)
    项目地址:https://code.google.com/p/android-test-kit/
    文档介绍:https://code.google.com/p/android-test-kit/w/list

  3. robolectric
    测试用例编写框架
    项目地址:https://github.com/robolectric/robolectric
    Demo 地址:https://github.com/robolectric/robolectricsample
    文档介绍:http://robolectric.org/
    特点:(1). 不需要模拟器在一般 JVM 就可以运行测试用例
    (2). 能完成在真机上的大部分测试包括感应器
    其他的测试用例及相关模块 Mock 可见:android-mock, mockito, easy-mock

  4. Android FEST
    提供一些列方便的断言,可用于提高编写 Android 自测代码效率
    项目地址:https://github.com/square/fest-android

  5. BoundBox
    可用于测试类各种访问权限的属性、方法。实际是通过 BoundBox 这个 annotation 生成一个属性和方法都是 public 权限的中间类并对此类进行测试完成的
    项目地址:https://github.com/stephanenicolas/boundbox

  6. Hugo
    用于打印函数信息及执行时间的工具,仅在 debug 模式生效
    项目地址:https://github.com/JakeWharton/hugo

  7. scalpel
    在应用下面添加一层用于界面调试
    项目地址:https://github.com/JakeWharton/scalpel

  8. Android Screenshot library
    Android 截图工具类,用于在持续集成时截图
    项目地址:https://github.com/rtyley/android-screenshot-lib

  9. sonar-android-lint-plugin
    将 android lint 的错误在 sonar 中展现
    项目地址:https://github.com/SonarCommunity/sonar-android

你可能感兴趣的:(Android-开发自测相关-第三方开源)