Skip to main content

[VisualStudio Extension] Autoformat allows to have blank lines between steps

Comments

2 comments

  • Official comment
    Mario Steiner

    Update: Under consideration

    thanks for your request. I updated the title from SpecFlow to the Visual Studio Extension.

    We are currently evaluating how we can improve the overall Developer/Tester IDE Experience.

    We'll keep you updated.

  • Sophie Keiblinger

    In addition:

    Tables should be able to follow immediately after the step they belong to (i.e. being exempt from the newline option)

    Scenario: Add two numbers
    Given the following data exists:
    | column header | column header |
    | 50 | 70 |

    And another step exists
    When we do something with the data
    Then the result should be something

     

     

    It would also be great to further indent keywords like "And" and "Or" so it is immediately visible, which steps belong to a certain keyword block and when a new one starts.

    Scenario: Add two numbers
    Given the first number is 50
    And the second number is 70
    When the two numbers are added
    Then the result should be 120


    Scenario: describe system behaviour here with a table
    Given the following data exists:
    | column header | column header |
    | 50 | 70 |

    And another step exists

    When we do something with the data

    Then the result should be something
    0

Please sign in to leave a comment.

Powered by Zendesk