Java 纯硒和修昔底德报告
我有简单的seleneum ui测试,我想在我怎么做之后有好的修昔底德报告。 在maven pom.xml中,我有如下配置文件:Java 纯硒和修昔底德报告,java,maven,selenium,report,thucydides,Java,Maven,Selenium,Report,Thucydides,我有简单的seleneum ui测试,我想在我怎么做之后有好的修昔底德报告。 在maven pom.xml中,我有如下配置文件: <profile> <id>MobileTests</id> <build> <plugins> <plugin> <gr
<profile>
<id>MobileTests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
<argLine>-Dwebdriver.remote.url=http://192.168.1.5/wd/hub</argLine>
<groups>ru.testgroups.mobile.AllMobile</groups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
<version>${thucydides.version}</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
</profile>
移动测试
org.apache.maven.plugins
maven surefire插件
2.18.1
-文件编码=UTF-8
-Dwebdriver.remote.url=http://192.168.1.5/wd/hub
ru.testgroups.mobile.AllMobile
org.apache.maven.plugins
maven站点插件
3
net.thucydides.maven.plugins
maven thucydides插件
${thucydides.version}
它应该生成报告,但它没有。如何从纯硒测试中获取修昔底德报告您应该将serenity(或者修昔底德,如果您使用的是旧版本)添加为报告插件:
<reporting>
<plugins>
<plugin>
<groupId>net.serenity-bdd.maven.plugins</groupId>
<artifactId>serenity-maven-plugin</artifactId>
<version>${serenity.version}</version>
</plugin>
</plugins>
</reporting>
net.serenity-bdd.maven.plugins
serenity maven插件
${serenity.version}
先生,我必须在何处添加serenety。在我的生活中,那是什么?或者也得搬走修昔底德??