I created Android Maven Project with android-quickstart-archetype ( https://github.com/akquinet/android-archetypes/wiki/android-quickstart-archetype )
I need to use Robotium ( http://code.google.com/p/robotium/ ) GUI Unit testing library.
I added dependencies in pom.xml.
How can i implement this library in my project. Can anybody helps me?
To implement Robotium in Android Maven project you need to:
Add dependency in pom.xml. Dependensy you can get here: http://code.google.com/p/robotium/wiki/Maven
Use android-with-test archetype. https://github.com/akquinet/android-archetypes/wiki/android-with-test-archetype
From the link :
Getting started
...
When you have created a new test project you need to add the Robotium jar to the build path. In Eclipse that is done by right clicking on the test project --> Properties --> Java Build Path --> Add (external) Jar.
Basically, to get the library running in your project, you simply need to add the jar to the classpath.
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.