首先,我尝试了“ReportPortal 侦听器”
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<properties>
<property>
<name>listener</name>
<value>com.epam.reportportal.junit.ReportPortalListener</value>
</property>
</properties>
</configuration>
</plugin>
但是测试给了我错误
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
然后我试着写
@RunWith(com.epam.reportportal.junit.CustomJUnitRunner.class)
但系统找不到并导入com.epam.reportportal.junit.CustomJUnitRunner.class
也许有人知道如何进行这种整合?