[Interest] Code coverage with QtCreator
godboutj at amotus.ca
Tue Sep 3 17:35:42 CEST 2019
Is this integrate the CppUnit with is own listener? My test are in QTest, I could translate them, just wondering if it does support this.
From: Konstantin Tokarev <annulen at yandex.ru>
Sent: September 3, 2019 10:52 AM
To: Jérôme Godbout <godboutj at amotus.ca>; interest at qt-project.org
Subject: Re: [Interest] Code coverage with QtCreator
03.09.2019, 17:47, "Jérôme Godbout" <godboutj at amotus.ca>:
> Is there a good way to make code coverage with QMake and Qt Creator? I will probably switch my codes to CMake with Qt 6, but for the time being I will leave my projects as QMake and we do not use Visual Studio on Windows either. Any free tools that can run on Windows, Linux, MacOS ?
> I have seen a few tools that are expensive or only work for GCC, but found nothing that is open source and can run multiple platform so far.
You can try TestCocoon - it has easy to use integration with qmake:
It's an old version of what is called Squish Coco now. You'll have to build it from source. Build process produces nice pdf documentation.
More information about the Interest