[Interest] Code coverage with QtCreator
Konstantin Tokarev
annulen at yandex.ru
Tue Sep 3 17:52:01 CEST 2019
03.09.2019, 18:45, "Andy" <asmaloney at gmail.com>:
> Not sure if it's quite what you're looking for, but I wrote up a tutorial on using gcov & lcov with Qt5 & Qt Creator:
>
> "Code Coverage Of Unit Tests Using Qt 5 On macOS"
> https://asmaloney.com/2017/01/code/code-coverage-of-unit-tests-using-qt-5-on-macos/
>
> Might give you some ideas.
Line-based coverage is inherently sub-par approach as compared to condition/decision coverage provided by testcocoon. However it may be possible to achieve that by using different instrumentartion options of compiler.
--
Regards,
Konstantin
More information about the Interest
mailing list