Skip to content

Commit

Permalink
Merge branch 'master' into jane_fix_new_cases
Browse files Browse the repository at this point in the history
  • Loading branch information
bingyujin authored May 22, 2024
2 parents b581bcc + 5740344 commit f049ba3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,20 @@ SpecFlow test result injection is supported via the use of a template file for r
file from the first action, cucumber-jvm-result.xml:
![Run as jar](./run_as_jar.png)

2. Run as a Maven plugin
2. Run as a Maven plugin

This tool is published in the Maven repository as a plugin. You can invoke the plugin by using a fully qualified plugin ID
or a short version. Unlike the previous way, the CI admin doesn't need to manually deploy the tool.
This tool is published in the Maven repository as a plugin. You can invoke the plugin by using a fully qualified plugin ID "com.microfocus.adm.almoctane.bdd:bdd2octane"
or just "bdd2octane" provided that a <PluginGroup> for "com.microfocus.adm.almoctane.bdd" is configured in maven settings.
Unlike the previous way, the CI admin doesn't need to manually deploy the tool.

> **mvn bdd2octane:run -DreportFiles=<path_or_pattern> -DfeatureFiles=<path_or_pattern> -Dframework=\<framework> -DresultFile=<path_to_result_file>**
The following picture is a sample configuration of invoking a Maven target to run the plugin.
![Run as mvn](./run_as_mvn.png)
> **mvn com.microfocus.adm.almoctane.bdd:bdd2octane:run -DreportFiles=<path_or_pattern> -DfeatureFiles=<path_or_pattern> -Dframework=\<framework> -DresultFile=<path_to_result_file>**
or

> **mvn bdd2octane:run -DreportFiles=<path_or_pattern> -DfeatureFiles=<path_or_pattern> -Dframework=\<framework> -DresultFile=<path_to_result_file>**
The following picture is a sample configuration of invoking a Maven target to run the plugin.
![Run as mvn](./run_as_mvn.png)

### Notes on Cucumber-js handler

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>30.0-jre</version>
<version>33.0.0-jre</version>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
Expand Down

0 comments on commit f049ba3

Please sign in to comment.