maven 执行testng.xml文件失败解决问题

在pom.xml中配置了testng的依赖后,在surefire-plugin中又配置了suitexmlfiles指向testng.xml文件,但是使用mvn test运行时,没有运行testng.xml中指定的用例,

导致该问题的原因是标签的大小写问题,没有严格规范的写suiteXmlFiles, 应当注意每一个字母的大小写

maven 执行testng.xml文件失败解决问题_第1张图片

 

转载于:https://www.cnblogs.com/woniu123/p/9705061.html

你可能感兴趣的:(java,开发工具)