Skip to main content

SpecFlow+LivingDoc error

Comments

1 comment

  • Viktor Nemes

    This is a bug that the build task fails with this error.
    You have a scenario outline where you have an inconsistent example section table where multiple columns have the same title. something like

    Scenario Outline: Add two numbers
    Given I have entered <First> in the calculator
    And I have entered <Second> into the calculator
    When I press add
    Then the result should be <value> on the screen

    Examples:
    | First | Second | value | value |
    | 50 | 70 | 120 | 120 |
    | 30 | 40 | 70 | 70 |
    | 60 | 30 | 90 | 90 |

    Here you have two value column which causing an error is SpecFlow because it won't know which column to use.
    If you find this scenario outline and give a unique column name to every column also it should work in the build task.

    0

Please sign in to leave a comment.

Powered by Zendesk