Maven を使用して ReportNG からの標準レポートのスタイルを変更する (reportng.css とは別の .css を使用する) のが好きです。私の pom.xlm は次のようになります
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value>org.uncommons.reportng.HTMLReporter,org.testng.reporters.EmailableReporter</value> </property>
</properties>
<systemProperties>
<property>
<name>org.uncommons.reportng.title</name>
<value>My own titel in Test Report</value>
</property>
<property>
<name>org.uncommons.reportng.stylesheet</name>
<value>${project.basedir}/src/report/resources/MyTestReport.css</value>
</property>
</systemProperties>
...
タイトルは変更できますが、systemproperty org.uncommons.reportng.stylesheet で同じことをしようとすると、デフォルトのレポートしか表示されません。誰かが同じ問題を抱えていて、どのように解決しましたか?
よろしくアニカ