From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.
Qt Data Driven Test row name
diredko last edited by diredko
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 ?
diredko last edited by
@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 ?
Paul Colby last edited by
I hope that helps :)
Nice one ! I've missed that function. Thanks !