Qt Data Driven Test row name
I'm trying to implement several data driven tests for my Qt Application and I need to get data row name (the string passed as an argument to newRow function) but it seems to be trickier than just doing QFETCH(QString, name).
I have looked through Qt documentation but couldn't have found anything that could help.
Would someone please help me understand how name of data row can be fetched in test function?
p.s. I'm using Qt 5.6
Out of curiosity, why do you need that information ?
@SGaist I need to implement output messages on test failure with specific format
Did you saw that you can already get the output of QTest base unit test in different formats ?
I hope that helps :)
Nice one ! I've missed that function. Thanks !