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

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

+3


source to share


1 answer


In IntelliJ, you create modules for this.

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

      

To configure Robotium in a new test project, open



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

      

Then add Robotium jars to it.

+3


source







All Articles