[Interest] Unit test with multiple data

Soroush Rabiei soroush.rabiei at gmail.com
Sat Jan 25 20:22:16 CET 2014


Hi

I'm writing a test unit using Qt's QtTest library. My test case requires
three strings (database host, username and password) that they should be
passed in command line.

Documentation says data is passed to test unit in the following syntax:

    testname [options] [testfunctions[:testdata]]...

How can I pass more that one `testdata' to a test function? I've tried
something like:

    testname testfunctions:data1:data2:data3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140125/55091f77/attachment.html>


More information about the Interest mailing list