> On Dec 31, 2020, at 18:19, Stefan Seefeld <ste...@seefeld.name> wrote:
> 
> Hello,

Hi,

> I have added some tests to my project that run a (C++) executable with a set 
> of command-line arguments. There is no particular C++ API to drive the tests 
> (as in google tests or similar). Tests simply pass or fail based on the 
> process status. The tests are added to the cmake project using the usual 
> `add_test()` function.
> How can I make qtcreator aware of these new tests ? It only seems to know 
> about tests that use one of those C++ testing frameworks. Is there anything 
> I'm missing ?

there is some work going on to support ctest in the tests panel etc here
AutoTest: Provide basic ctest integration (I1cb85569) · Gerrit Code Review
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/318051
As far as I can tell that has chances to land in Qt Creator 4.15.

Currently your only option is to run the tests via a custom run configuration.

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.zil...@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to