Skip to content

openrewrite/rewrite-cucumber-jvm

Repository files navigation

Logo

Rewrite Cucumber JVM

ci Apache 2.0 Maven Central Revved up by Develocity

What is this?

This project implements a Rewrite module that performs common tasks when migrating to new version of Cucumber-JVM.

Browse a selection of recipes available through this module in the recipe catalog.

Running migration recipes

Migration recipes can be run using the rewrite-maven-plugin or rewrite-gradle-plugin. These can either be added to the build file of the project to be migrated or run without modifying the build.

Upgrade to Cucumber JVM 7.x

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-cucumber-jvm:RELEASE \
  -DactiveRecipes=org.openrewrite.cucumber.jvm.UpgradeCucumber7x

Cucumber-Java8 migration to Cucumber-Java

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-cucumber-jvm:RELEASE \
  -DactiveRecipes=org.openrewrite.cucumber.jvm.CucumberJava8ToJava

Bugs and Feature requests

You can register bugs and feature requests in the GitHub Issue Tracker.

Contributing

If you'd like to contribute to the documentation, checkout CONTRIBUTING.md.