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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -