java - How to run testng.xml from terminal on OS X El Capitan (10.11)? -
i have tried many things run testng.xlm file terminal can't run it. have downloaded latest versions of testng.jar , jcommander.jar , provided path of them in following command
java -cp "path/to/testng.jar:path/to/jcommander-1.7.jar" org.testng.testng testng.xml
but getting error as
error: not find or load main class testng.xml
Comments
Post a Comment