Я установил TestNG и запустил простую программу. Это ошибка, как показано ниже. Нужна помощь для решения проблемы.
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.WinNTFileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at org.testng.xml.Parser.parse(Parser.java:155)
at org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:300)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:103)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
No test suite found. Nothing to run
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
package SampleProject;
import org.testng.annotations.Test;
public class TestNgDemo {
@Test
public void validLogin(){
System.out.println("This is a test");
}
}