简体   繁体   中英

How to run TestSuit from command line?

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.

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

java org.junit.runner.JUnitCore (test class name)

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM