我在Eclipse中执行Java testNG.xml
文件时收到以下错误:
[TestNGContentHandler] [WARN] It is strongly recommended to add "<!DOCTYPE suite SYSTEM "
http://testng.org/testng-1.0.dtd" >" at the top of your file, otherwise TestNG may fail
or not work as expected.
有人能帮忙吗?
在testng.xml文件中添加<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
这一行,它将是testng.xml文件的第二行。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >