adb shell am instrument -w -e class com.example.developer.appname.SomeTests#testName -e key1 param1 -e key2 param2 com.example.developer.appname.test/android.support.test.runner.AndroidJUnitRunner
Spaces and some other characters is not supported in key or value
in android test use InstrumentationRegistry.getArguments().get(key)
Spaces and some other characters is not supported in key or value
in android test use InstrumentationRegistry.getArguments().get(key)
Комментариев нет:
Отправить комментарий