Login  Register

Re: Testing for Qt6

Posted by Gilles Caulier-4 on May 22, 2021; 11:11am
URL: http://digikam.185.s1.nabble.com/Testing-for-Qt6-tp4716755p4716756.html

Hi,

Yes, first I recommend building code, and later writing unit tests to check fonctionnalites.

Typically, the best way is to build digiKam step by  step. I recommend disabling the advanced section of the application, typically to build core/libs first. Almost all unit tests from core/tests check the libs classes.

core/libs is used to compile the shared libdigikam.so used by unt tests. So compiling this object will allow to compile and link the uni-tests (that you can disabled temporary while porting codes.

Best

Gilles Caulier

Le sam. 22 mai 2021 à 11:10, Anjani Kumar <[hidden email]> a écrit :
Hello,
For my GSoC project, I'm trying to prepare a testing strategy for every class I port. Before I start the work, should I build all the tests with Qt6? I was following the guidelines from here https://doc-snapshots.qt.io/qt6-dev/qttest-best-practices-qdoc.html

Thanks
Anjani
Sent from Mailspring