Migrating from Gherkin Cucumber - ManianVSS/Karta GitHub Wiki
To convert a Gherkin Feature file to Kriya feature file (Yaml based), use the convertor utility from samples directory
java -cp .*;..\lib* org.mvss.karta.samples.tools.GherkinToYamlConvertor
usage: Gherkin to YAML converter -d,--featureFilesDirectory feature file directory to convert -f,--featureFile feature file to convert -g,--generateTestCatalog generate test catalog file KartaTestCatalogFragment.yaml. Defaults to true. --help prints this help message -o,--output output YAML feature file name. Defaults to .yaml
@StepDefinition annotations(for Kriya plugin) can be added to existing step definitions method defined for Cucumber tests in java. Karta's recommended approach to state management is to use TestExecutionContext and scenario's context bean registry rather than Cucumber's step definition class state to avoid issues with multi threaded and remote step executions.