[uiautomator篇] [4] 运行成功的日志打印---最后写一个脚本来实现

Testing started at 18:23 ...

05/10 18:23:01: Launching ChangeTextBehaviorTest
No apk changes detected since last installation, skipping installation of C:\Users\Administrator\AndroidStudioProjects\test\app\build\outputs\apk\app-debug.apk
$ adb shell am force-stop qq.test
$ adb push C:\Users\Administrator\AndroidStudioProjects\test\app\build\outputs\apk\app-debug-androidTest.apk /data/local/tmp/qq.test.test
$ adb shell pm install -r "/data/local/tmp/qq.test.test"
Success


Running tests

$ adb shell am instrument -w -r   -e debug false -e class qq.test.ChangeTextBehaviorTest qq.test.test/android.support.test.runner.AndroidJUnitRunner
Client not ready yet..
Started running tests
Tests ran to completion.

posted @ 2017-05-10 18:34  liuzhipenglove  阅读(1236)  评论(0编辑  收藏  举报