Skip to content

Story attribute auto-adds "As a", etc if not already in the string value #50

@jason-roberts

Description

@jason-roberts

Not sure if this would be a useful shortcut for story writers, but as an idea:

[Story( AsA = "As a Customer",
           IWant = "I want to log-in",
           SoThat="So that I can place a new order" )]

Could instead be written:

[Story( AsA = "Customer",
           IWant = "to log-in",
           SoThat="I can place a new order" )]

The "As a", "I want", and "So that" strings will be auto-added if they aren't already present at the start of the strings for these properties.

This would reduce the typing that dev has to do when using this attribute and I feel that it also improves the readability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions