Home

Awesome

DroidTestHelper

Build Status

Helper application to test android applications. This application handle some settings via adb broadcast. So, you can handle some settings via adb broadcast.

Some features are similar to https://github.com/linkedin/test-butler published by LinkedIn.

Feature

How to use

remove account from account manager

change locale

reference

Change animations

Clear Data

DroidTestHelperLib

Embedded DroidTestHelperLib into your library

from Jitpack

dependencies {
   compile 'com.github.KazuCocoa:DroidTestHelper:0.3.0'
}

Need Permissions to enable the above handler in AndroidManifest.xml

    <uses-permission android:name="android.permission.GET_ACCOUNTS" android:maxSdkVersion="22"/>

    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
    <uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>

    <!-- to grant permission -->
    <uses-permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"/>

    <uses-permission
        android:name="android.permission.MANAGE_ACCOUNTS"
        android:maxSdkVersion="22" />

Implementations

A package com.kazucocoa.droidtesthelper is example to use com.kazucocoa.droidtesthelperlib.

Note for Android P

load map

I will add additional feature if I need.

LICENSE

MIT