Skip to content

Make Story Title Prefix customisable in code #68

@mwhelan

Description

@mwhelan

Currently BDDfy prefixes each Story Title with "Story: ". It would be useful to be able to customise this. It is currently possible to customise the prefix with CSS for the HTML report, but not for the other reporters. Making this customisable in code would satisfy all the reports and provide a nicer approach for HTML reports.

The solution Mehdi and I discussed is to:

  • add a TitlePrefix property to StoryMetadata
  • add another constructor parameter to StoryMetadata for TitlePrefix that defaults to "Story: "
  • Move the prefix out of CSS into the code resolved from metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions