I'm working on Visual Studio 2015. Output of the Data Driven Test looks something like this this
Failed TestCaseName(Data Row 0)
Failed TestCaseName(Data Row 1)
Failed TestCaseName(Data Row 3)
Passed TestCaseName(Data Row 4)
Is there a way to display a meaningfull message instead of Data Row n
. Something like
Failed TestCaseName(with SQL Server data source)
Failed TestCaseName(with Oracle data source)
Failed TestCaseName(with MYSql data source)
or
Failed TestCaseName_SQLServer(Data Row 0)
Failed TestCaseName_Oracle(Data Row 1)
Failed TestCaseName_MySql(Data Row 2)
I have tried with.
TestContext.Properties["TestName"] = "TestCaseName_SQLServer";
TestContext.Properties["FullyQualifiedTestClassName"] = "TestCaseName_SQLServer";
But no luck. This is the same question but not answered.