As the title says I tried to follow the clues mentioned in
How to run TestNG from command line
but I get Error: Could not find or load main class org.testng.TestNG
Here is the detailed command I use:
java -cp "testng-6.8.jar:C:\Users\...\src\test\java\unit_tests\libs_test" org.testng.TestNG "C:\Users\...\src\test\resources\AllUnitTests.xml"
The point is that when I opened testng-6.8.jar in 7zip, I can see the org.testng.TestNG class:
What is wrong with that command?