Skip to content

With allowRowTests and Scenario outline scenario order is not correct #848

@SNBogdanov

Description

@SNBogdanov

Reqnroll Version

3.0.2

Which test runner are you using?

MSTest

Test Runner Version Number

4

.NET Implementation

.NET Framework 4.6.2 or later

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

{
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",

"bindingAssemblies": [
],
"runtime": { "stopAtFirstError": true },
"generator": {
"allowDebugGeneratedFiles": false,
"allowRowTests": false
},
"formatters": {
"html": {},
"message": {}
}
}

Issue Description

I have several Scenarios in my feature file.
First scenario is to start application.
After that I have scenario outline to check menu with datatabel of menu items.
In .testrunsettings I set up
false
To preserve order of cases from my feature file
If I set up
"allowRowTests": true
case are running in correct order, but if I set up
"allowRowTests": false
case order is not correct and checking of menus goes before application start
In Attachement is .feature file and trx file from test execution. It is visible that in trx file first test case is not same as first case in feature file

ARN-T5688.zip

Steps to Reproduce

In description all steps are described

Link to Repro Project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    by designWe planned it to work that way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions