Skip to content

Allow changing of features & scenarios via CukeModeler #16

Description

@leoc

Hey! Thanks for the abstraction of the gherkin parser here.

Since this is a gem to make life easier when working with gherkin feature files.

Would it be out of scope to add functionality to e.g. add tags, remove tags, replace tags, change feature title/description.

For example we could do things like:

file = CukeModeler::FeatureFile.new(filename)
file.feature.name = "Updated #{file.feature.name}"
file.feature.add_tag("ISSUE-5")
# or file.feature.replace_tag("id:5", "ISSUE-5")
file.write(filename)

This might also be worthwhile for cuke_tagger and cuke_cataloger. I see that you have a lot of custom code to modify the gherkin feature files.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions