Testing for Qt6

Gilles Caulier caulier.gilles at gmail.com
Sat May 22 12:11:43 BST 2021


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 <anjanik012 at gmail.com> 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
> <https://link.getmailspring.com/link/0D8E1B85-44DC-4C00-9A62-A79CC512289A@getmailspring.com/0?redirect=https%3A%2F%2Fdoc-snapshots.qt.io%2Fqt6-dev%2Fqttest-best-practices-qdoc.html&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn>
>
> Thanks
> Anjani
> [image: Sent from Mailspring]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20210522/9b53438b/attachment.htm>


More information about the Digikam-devel mailing list