有沒有辦法將生成的報告的輸出目錄更改爲自定義目錄 - 特別是.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
目錄。
在此先感謝!