Migrate io.cucumber.java8.Scenario and io.cucumber.java8.Status
MSALScenario and Status are the only io.cucumber.java8 types with an io.cucumber.java counterpart; the language interfaces such as En and the LambdaGlue body types have none, so renaming the package wholesale would point whatever the migration could not convert at a type that does not exist. Where such a body type does survive it also still expects the cucumber-java8 Scenario, as in an anonymous HookBody, so leave both types be until the last of the lambda glue is gone.
org. openrewrite. cucumber. jvm. MigrateCucumberJava8ScenarioAndStatusmod run . --recipe= org. openrewrite. cucumber. jvm. MigrateCucumberJava8ScenarioAndStatusInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.