Skip to content

Commit 823b4be

Browse files
committed
Add karate support
1 parent dee81f1 commit 823b4be

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Full plugin configuration below, optional properties can be omitted
6060
<jsonReportFolder>target/report/surefire-reports/cucumber/</jsonReportFolder>
6161
<!--Optional - default - **/*.json -->
6262
<jsonReportIncludePattern>**/cucumber.json</jsonReportIncludePattern>
63+
<!--Optional - default cucumber (can be one of: cucumber/karate)-->
64+
<type>cucumber</type>
6365
</configuration>
6466
</execution>
6567
</executions>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<dependency>
7373
<groupId>com.assertthat.plugins</groupId>
7474
<artifactId>assertthat-bdd-standalone</artifactId>
75-
<version>1.2</version>
75+
<version>1.3</version>
7676
</dependency>
7777
</dependencies>
7878
<build>

src/main/java/com/assertthat/ReportMojo.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ public class ReportMojo extends AbstractMojo {
7070
private String mode;
7171
@Parameter(property = "jql")
7272
private String jql;
73+
@Parameter(property = "type", defaultValue = "cucumber")
74+
private String type;
75+
76+
public String getType() {
77+
return type;
78+
}
79+
80+
public void setType(String type) {
81+
this.type = type;
82+
}
83+
7384

7485
public String getMode() {
7586
return mode;

0 commit comments

Comments
 (0)