[Qt-interest] Running unit tests

Vincent Cai wcai at cypress.com
Thu Nov 3 10:56:03 CET 2011


You can choose binary to run under ‘Run Configuration’ option.
Refer to: http://doc.trolltech.com/qtcreator-2.1/creator-run-settings.html


From: qt-interest-bounces+wcai=cypress.com at qt.nokia.com [mailto:qt-interest-bounces+wcai=cypress.com at qt.nokia.com] On Behalf Of Esdras Beleza
Sent: 2011年11月3日 1:21
To: qt-interest at trolltech.com
Subject: [Qt-interest] Running unit tests

Hi,

I'm used to create Qt projects in Qt Creator, but now I'm trying to create a more serious project and do some unit tests in a new project.

I created a new subdirs-based project, and inside of it I put another project, also subdirs-based, called "tests". Inside of this "tests" projects, there are some directories containing the unit tests I need. They are built and, inside of the build directory, are their binaries.

if I ask Qt Creator to run my project, it runs the binary of the first project it finds.

I don't know if I'm doing it right. How do you run Qt-based unit tests?

Esdras

--
formulageek.com.br<http://formulageek.com.br/>
esdrasbeleza.com<http://esdrasbeleza.com/>


________________________________
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111103/410d7d12/attachment.html 


More information about the Qt-interest-old mailing list