0
Lorsque essayé d'exécuter le testng par commandline en ubuntu il jette leCourir TestNG par commadline ubuntu ne fonctionne pas
java –cp "bin:/home/john/selenium-lib/*" org.testng.TestNG src/testing.xml
Error: Could not find or load main class –cp
package src/TestCase */
test;
import org.testng.annotations.Test; public class TestCase { String message = "Hello World"; @Test public void testPrintMessage() { System.out.println("Invoked testString " + message); } }
src/testing.xml
Krishnan Mahadevan merci beaucoup que c'était tout en copiant/collant il traitait trait d'union (-) comme caractère spécial. Mon mauvais j'ai raté ça – Axe