http://maven.apache.org/xsd/maven-4.0.0.xsd“>4.0.0 DataDriven Udemy 0.0.1-快照
<!-- https://mvnrepository.com/artifact/com.relevantcodes/extentreports -->
<dependencies>
<!-- https://mvnrepository.com/artifact/com.relevantcodes/extentreports -->
<dependency>
<groupId>com.relevantcodes</groupId>
<artifactId>extentreports</artifactId>
<version>2.41.1</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.11.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.uncommons/reportng -->
<dependency>
<groupId>org.uncommons</groupId>
<artifactId>reportng</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.inject/guice -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>4.2.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.sun.mail/javax.mail -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>6.0.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
<!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.17</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans -->
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.6.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-testng</artifactId>
<version>2.18.1</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/runner/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</pluginManagement>
未能执行goal org.apache.Maven.plugin:maven-surefire-plugin:2.18.1:test(default-test)对项目udemy:执行default-test of goal org.apache.Maven.plugin:maven-surefire-plugin:2.18.1:test失败:分叉进程中出现错误[error]org.apache.Maven.surefire.testset.testsetfailedexception:套件文件E:\udemy\udemy\src\test\resources\runner\testng.xml不是有效xmltestsuite.java:116)[error]在org.apache.Maven.surefire.testngprovider.invoke(TestngProvider.java:83)[error]在org.apache.Maven.surefire.booter.forkedbooter.invokedproviderinsameclassloader(forkedbooter.java:203)[error]在帮助1][error][error]要查看错误的完整堆栈跟踪,请使用-e重新运行Maven切换。[ERROR]使用-x开关重新运行Maven以启用完全调试日志记录。[ERROR][ERROR]有关错误和可能的解决方案的详细信息,请阅读以下文章:[ERROR][Help 1]http://cwiki.apache.org/confluence/display/maven/pluginexecutionexception
只要用这个更新你的插件
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/runner/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
问题内容: 我设置Jenkins来启动我的Selenium / TestNG测试。Jenkins构建成功,但是在控制台输出中是以下错误: Jenkins控制台输出错误 分支的流程套件文件/Users/chrisrhoads/IdeaProjects/SikuliScript_POS/POS_TestConfig.xml不是有效文件org.apache.maven.surefire.booter.S
当试图运行Jenkins的Selenium/TestNg测试时,我遇到以下错误。 [ERROR]Suite文件 /development/apps/config/jenkins/jobs/teste-automatizado/workspace/Juvo/testng.xml不是有效文件 下面是我的POM和testng.xml文件。我能够从eclipse和comand line成功地启动testn
$ gdb GNU gdb (GDB) 7.7.50.20140228-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are f
我在我的新Windows XP中安装了带有4gb ram的eclipse keeller。当我在avd中创建新模拟器时,还安装了sdk 20.0.2,它显示Windows错误。 "emulator-arm.exe遇到问题需要关闭很抱歉给您带来不便" 我尝试重新安装adt和sdk,但没有效果。请告诉我需要的解决办法。 提前谢谢 avd规范 姓名:维杰 CPU/ABI:ARM(armeabi-v7a)
我得到空白页,而不是错误消息在浏览器中。但我可以查看错误在var/log/system.log 我安装了最新的magento 1.8 CE。我正在使用Ubuntu,我的站点根目录位于/var/www/chmoded 777。我已将其别名链接到我的主文件夹并从中进行操作。 我还没有取消评论index.php. 我将错误/local.xml.sample重命名为local.xml. 我还添加了 到.
我正在尝试从命令行运行testng.xml。我的项目是maven项目,并映射到git存储库。我使用下面的命令从命令行运行,但是面对[TestNG][ERROR]无法在类路径中找到类:“filename”错误 请帮助我解决这个问题。 注意:我可以在eclipse中毫无问题地运行相同的代码,也可以在jenkins中调用相同的代码