Robotium: HowTo create a test project for an existing project in Intellij IDEA?

泪湿孤枕 提交于 2019-12-10 22:36:51

问题


I'm stuck in creating a test project for an existing one. For Eclipse it was simple, but for IntelliJ(and I'm forced to use it at my workplace) I don't really know how to test the project using Robotium framework. I would appreciate if anyone can write few clear steps in order to explain this.


回答1:


In IntelliJ, you create modules for this.

File -> Add Module -> Create Module from Scratch -> Android -> Test

For setting up Robotium in your new test project, open up

File -> Project Structure -> Modules -> <your test project> -> Add

Then add the Robotium jars with it.



来源:https://stackoverflow.com/questions/9718920/robotium-howto-create-a-test-project-for-an-existing-project-in-intellij-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!