This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to Debug a Unit Test in Kdevelop5

Tags: None
(comma "," separated)
srobbins
Registered Member
Posts
3
Karma
0

How to Debug a Unit Test in Kdevelop5

Tue Jul 19, 2022 12:36 pm
Hello,

I checked out a project (digikam) that has unit tests (written with QTest), and am able to run the tests within kdevelop using the Unit Tests tool. That provides a view of all the tests, where I either run all tests; or select some tests and run the selected ones. Good so far.

Now I want to put a breakpoint and debug one test. I haven't found a corresponding "debug test" button. Is there one?

If not: is the solution to somehow configure a "launch" for unit testing and debug that?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]