Issue with Scenario Outline Discovery in Test Explorer and YAML Pipeline after Migrating from SpecFlow to Reqnroll #444
Replies: 3 comments 1 reply
-
You can revert back to the old behaviour by setting the allowRowTests setting to false. See also https://docs.reqnroll.net/latest/installation/configuration.html#generator |
Beta Was this translation helpful? Give feedback.
-
Thank you so much!! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @gasparnagy { |
Beta Was this translation helpful? Give feedback.
-
After migrating from SpecFlow to Reqnroll, we are facing an issue with discovering Scenario Outline tests in Visual Studio 2022.
In SpecFlow, the Scenario Outline was identified by the first attribute in the example, and when searching in the Test Explorer,
it was displayed as
createanewemployee_David
.Example:
In this case, the scenario would appear in Test Explorer as
createanewemployee_David
.However, after migrating to Reqnroll, the scenario now appears as
createanewemployee ("David","US")
and isn't discovered when searched as
createanewemployee_David
. It only gets discovered if the search is written ascreateanewemployee David
.This is causing an issue with our YAML pipeline in Azure DevOps, where we previously used the filter
Name=createanewemployee_David
to run the test.Now, no tests are being discovered when applying filters either way, even after trying with the fully qualified name.
Can you please suggest any changes I should make in my project to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions