Use the Test 'Name' attribute to display the human readable name of the scenario in the test explorer #193
Replies: 1 comment 2 replies
-
For XUnit we do this already and I always see the human readable title both in the test explorer and also in the For MsTest, this would be nice, but not that easy. The syntax we should generate is However, this only works for normal tests (so normal scenarios in our case), with tests using If someone is interested to send a PR for this, that would be awesome. |
Beta Was this translation helpful? Give feedback.
-
Both XUnit and MSTest support the ability to provide an additional Name parameter in the test attribute e.g. [Test("My wonderful test")] it would be great if reqnroll could support this additional attribute in these cases so that in the test explorer the display name isn't the Method name. So MyWonderfulTest would appear instead as "My wonderful test". The test name would use the scenario short name in this example.
Beta Was this translation helpful? Give feedback.
All reactions