Robotium based AMV test

15 views
Skip to first unread message

Ludwig

unread,
Jan 23, 2013, 7:41:53 AM1/23/13
to mapsfo...@googlegroups.com
I have added a Robotium based test for the AdvancedMapViewer to my clone of the project. 

Robotium is a pretty useful testing framework for Android apps, see http://code.google.com/p/robotium/

There are currently only two tests that test map movement with and without screen rotation. I have found similar tests useful for establishing the presence of memory leaks. 

To get it, checkout 


and have a look in the README file on the top level directory of the AdvancedMapViewer_Test project. 

This is not a maven build project, so you need to import it into Eclipse and then run it as a Android JUnit Test. You will also need to install a valid map file called testmap.map onto the sdcard of your testing device/emulator. 
Please let me know if these instructions are sufficient, any trouble you run into etc.

If people find this helpful, I will push it to master.

Ludwig


Reply all
Reply to author
Forward
0 new messages