>> Any comments ? Shall I proceed to push this to master ? >> >> Vincent >> > > Having a unit test framework integrated is a very good idea! > > Why have you chosen gtest and not QTest? Does gtest has interesting > features which QTest does not have?
I'm not very experienced with unit testing, so I cannot tell any details. Someone proposed gtest a long time ago on the list, and I've seen it being used in other projects. So, it must be good enough for us. > > One benefit of QTest is that it ships with the Qt installation and > no code has to be added to the repository. True. Most of the added code is actually not used (tests,samples,unused autotools/MacOs/msvc code, etc.). > > But knowing gtest (also integrating into a existing project) > is also good for other non-Qt projects. Yes, as I said, I've seen it around, more than QTest (no, I don't have usage statistics). Vincent