有没有办法将生成的报告的输出目录更改为自定义目录 - 特别是.json-Report文件?jGiven输出目录
文件说,(http://jgiven.org/userguide/ - 4.2):
[...] JGiven尝试当它被Maven的万无一失插件[我用它]在这种情况下,执行自动检测生成报告进入target/jgiven-reports/json。 [...]
我使用jGiven与Maven(for Appium测试)。
配置(pom.xml中 - 依赖):
<dependency>
<groupId>com.tngtech.jgiven</groupId>
<artifactId>jgiven-testng</artifactId>
<version>0.15.1</version>
<scope>test</scope>
</dependency>
配置(pom.xml中 - 建立/插件):
<plugin>
<groupId>com.tngtech.jgiven</groupId>
<artifactId>jgiven-maven-plugin</artifactId>
<version>0.15.1</version>
<executions>
<execution>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
由于目录由jGiven定义它无助于更改构建目录。它仍然会使用target/jgiven-reports/json
目录。
在此先感谢!