简体   繁体   中英

Android white box testing

I'm new android testing and for a while I'm using Android test framework to test my code(with the help of ProviderTestCase2, AndroidTestCase, activityinstrumentationtestcase2,etc) I want to know what are other frameworks available as opensource( strictly white box ). I have come across Robotium, Roboelectric, monkeyrunner, Calabash ). Which is used for Unit testing, testing android services? I got an overall idea that above frameworks used for black-box testing(correct me if I'm wrong). For white box testing which is the best test framework?

I prefer robolectric because it can be easily run in PC, and it's quite helpful to test logicals in apps.

Robotium is for ui testing, and it's not worth spending a lot of time writing ui testing code in my opinion, since the ui/requirements are always changing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM