0

I'm using Appium, and I have three classes with Appium tests. I have .xml file which declares a TestSuit and I can run the TestSuit from eclipse without any problem.

My question is, how can I run the same TestSuit for Appium tests from the command line?

Thanks.

jww
  • 97,681
  • 90
  • 411
  • 885
galvan
  • 7,400
  • 7
  • 38
  • 55
  • how do you run them in eclipse? – Blundell Mar 07 '15 at 20:31
  • Using the play button on the TestSuit.xml and it runs with JUnit configurations. you can see the answer here: http://stackoverflow.com/questions/28899940/how-to-create-appium-testsuite-in-android-studio/28903037#28903037 @Blundell – galvan Mar 07 '15 at 20:34
  • If you edit the junit configuration you can see what commands eclipse is running – Blundell Mar 08 '15 at 02:10

1 Answers1

0

Make sure your JUnit.jar is in your classpath. Then use this command from console:

java org.junit.runner.JUnitCore (test class name)
Gaurav
  • 1,332
  • 11
  • 22