How to display parameter values in test names for Reqnroll Scenario Outlines? #682
Unanswered
cemal-ozdemir
asked this question in
Q&A
Replies: 1 comment
-
Reqnroll does not support the use of placeholders when generating test method names (what gets displayed in the Test Explorer). The closest behavior is to configure Reqnroll to disallow RowTests which will force it to generate a unique method per Example row. In your reqnroll.json file include: "generator": {
"allowRowTests": false
} This would result in method names such as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello Reqnroll community,
I'm new to Reqnroll and struggling with how test names appear in Visual Studio Test Explorer. I'm using Scenario Outlines with parameters, but all the tests show up with the same generic name without their parameter values.
For example, with the scenario outline above, I would expect test names like "Verify add calculation with 50 and 70" and "Verify subtract calculation with 100 and 20" in the Test Explorer, but this isn't happening.
Does anyone know how to configure Reqnroll to include the parameter values in the test names that appear in Visual Studio Test Explorer? I'm working with:
Any help would be greatly appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions