[Interest] [Qt Tests Framework] Custom command line arguments

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Sep 12 06:49:57 CEST 2013


On Wed, Sep 11, 2013 at 5:55 PM, Denis Shienkov <scapig2 at yandex.ru> wrote:

> Hi all,
>
> Tell please, is there a way to transfer the user arguments to testlib
> application via an command line?
>

Yes. Have a look at this:

http://qt-project.org/doc/qt-4.8/qtestlib-manual.html#qtestlib-command-line-arguments

HTH,
-mandeep



>
> For example, I want to create the test which would open some devices for
> I/O and I used them, like:
>
> mytest.exe -dev1 <path/to/device1> -dev2 <path/to/device2>
>
> ?
>
> Best regards,
> Denis
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130912/9fd621aa/attachment.html>


More information about the Interest mailing list