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

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -