Instead of “Data Row 0”, “Data Row 1” etc. Output a custom name

后端 未结 1 1961
陌清茗
陌清茗 2021-02-19 23:48

In Visual Studio Team Foundation Server 2013, I\'m using the Unit Testing Framework. Specifically, I\'m using data-driven testing that will read from an XML file.

The gi

相关标签:
1条回答
  • 2021-02-20 00:22

    I feel like this would work better as a comment more than an answer, but alas I do not have enough reputation.

    There is a similar question with an answer here: Mstest name instead Data Row with Data-Driven testing

    It looks like they do TestContext.WriteLine() to get the values they want printed.

    0 讨论(0)
提交回复
热议问题