Skip to main content

Specflow Question: Running scenarios in sequence

Comments

1 comment

  • Andreas Willich

    No, it is not possible in SpecFlow. The order of execution is done by the unit test runner. SpecFlow can't influence this. Some test runner have functionality for it, some not. From your description I think you are using xUnit which goes the way to choose a random order.

    The need of executing scenarios in a special order is a bad practice. As unit tests, they should be able to run in any order.

    0

Please sign in to leave a comment.

Powered by Zendesk