I have multiple feature files and each feature file has multiple scenario outlines in my project.
I see that the hierarchy in the test explorer is something like this
- Project file name
- Assembly name
- Feature file names
- Scenarios under each feature file
So basically the tests that are seen in the test explorer are grouped by feature file names. Say I have 3 tests as below
- Configuration
- Execution
- Restore
I want these tests to be executed in a specific order(Restore, Configuration, Execution) and not based on the default alphabetical order
I already checked this. That is a different case and doesn't help mine
Is there any way this can be achieved?
The Visual Studio Test Explorer panel has some additional options for grouping and sorting test cases.
There is nothing specific to SpecFlow. You can group tests by project and then class, among others: