[Qt-interest] Running unit tests

Scott Aron Bloom Scott.Bloom at onshorecs.com
Wed Nov 2 18:46:39 CET 2011


Use CMake and google test, the intergration is really easy, and works
very very well.

My current project has 1.5M lines of code, about 30% Qt based..

 

With over 5000 unit tests.. 

 

Scott

 

From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Esdras Beleza
Sent: Wednesday, November 02, 2011 10:21 AM
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/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111102/368f5f41/attachment.html 


More information about the Qt-interest-old mailing list