问题
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