Skip to content

StepTitle improvement idea #176

@JakeGinnivan

Description

@JakeGinnivan
Member

It would be cool to allow different step titles depending on the step type. For instance:

[StepTitle(Given="Foo is", When="Foo is change to")]

Then when a method is reused the english makes sense when reported?

Thoughts?

Activity

MehdiK

MehdiK commented on Aug 16, 2014

@MehdiK
Member

I like the idea. To decouple StepTitle from a specific BDD flavour maybe we could use [StepTitle("Foo is changed too", Order = ExecutionOrder.Transition)] instead?!

Also how about using one StepTitle per ExecutionOrder; e.g.

[StepTitle("Foo is changed too", Order = ExecutionOrder.Transition)]
[StepTitle("Foo is", Order = ExecutionOrder.Setup)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @JakeGinnivan@MehdiK

        Issue actions

          StepTitle improvement idea · Issue #176 · TestStack/TestStack.BDDfy