Skip to content

Reduce duplication between code and snippet generationΒ #3063

@mpkorstanje

Description

@mpkorstanje

πŸ€” What's the problem you've observed?

As seen in #3062 currently boths GenerateI18n classes for cucumber-java[8] and SnippetGenerator turn Gherkin keywords into code. This code is now duplicated 3 times over. Each with a special exception for Emoji.

✨ Do you have a proposal for making it better?

Extract and reuse this code.

πŸ“š Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions