Google Test with Qt or just QTestLib?
I am new to Qt and C++ and I would appreciate some help with my questions.
I need to develop a gui for a big project I am working on and because I am following the TDD approach I would like to do some tests before.
I read some good comments about google test framework and I would to use it but it seems that its kind of hard to incorporate it with the qt framework and maybe I will have to use cmake. I know also that Qt has the QTestLib framework and I spend some time familiarizing myself with it.
Has anyone done something similar before and which framework is preferable to use from time, performance perspective?
Hi and welcome to devnet,
It all depends on the needs of your program/library. QTestLib is already available with no overhead, you can just use it (also with cmake) and it integrates easily in TDD projects. It also provides everything you need to test Qt specific stuff like signals.