【发布时间】:2012-11-13 22:59:41
【问题描述】:
我正在尝试获取 scalatest 的 html 报告,我发现了很多这样的配置:
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<version>1.0-M2</version>
<configuration>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<testFailureIgnore>true</testFailureIgnore>
<filereports>NCXEHLOWFD file/constrained.txt,file/full.txt</filereports>
<xmlreports>xml</xmlreports>
<htmlreports>html/report.html</htmlreports>
</configuration>
<executions>
<execution>
<id>test</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
但是 IntelliJ 告诉我 xmlreports 和 htmlreports 是不允许的,并且不会生成 xml 或 html 报告。
任何人都可以提出任何建议吗? 我会很感激的
【问题讨论】:
标签: html unit-testing scala reporting scalatest