Android unit test using instrumentation without Activity -
Android unit test using instrumentation without Activity -
i want unit test android code in isolation activity. code bitmap processing. tried robolectric , appears bitmap returns sort of facade , not contain real pixel values robolectric out of question. want isolate code processing rest of system. i've tried activityunittestcase activity create in test class, test fails @ startactivity(intent, null, null); i'm assuming because activity not part of application (not listed in manifest).
how can run piece of android code, instrumented, without activity?
figured out. utilize instrumentationtestcase.
android unit-testing instrumentation
Comments
Post a Comment