[Qt-interest] Running unit tests

Scott Aron Bloom Scott.Bloom at onshorecs.com
Wed Nov 2 19:19:33 CET 2011


All CMake and google test do, are provide a build an test
infrastructure...

 

CMake replaces QMake..

 

What each "test" does is completely up to you.  I use the QTest, and
other Qt code inside each test as necessary...


In fact, for some of my code, where you need to have a golden file to
compare against, I use the Qt resource compiler on the test
application...

 

Scott

 

From: esdras.beleza at gmail.com [mailto:esdras.beleza at gmail.com] On Behalf
Of Esdras Beleza
Sent: Wednesday, November 02, 2011 11:09 AM
To: Scott Aron Bloom
Subject: Re: [Qt-interest] Running unit tests

 

 

On 2 November 2011 14:46, Scott Aron Bloom <Scott.Bloom at onshorecs.com>
wrote:

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

 

 

 

Hmm, I didn't know googletest. I'd like to use only Qt in my project to
learn it better and avoid dependencies, but it seems to deserve a look.


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/701e175b/attachment.html 


More information about the Qt-interest-old mailing list