Provision of enabling tests for frameworks

Volker Krause vkrause at kde.org
Wed Jan 11 16:09:52 GMT 2023


On Dienstag, 10. Januar 2023 19:10:24 CET Sharaf Zaman wrote:
> Today I encountered a bug with KConfig [1], which surfaced because of the
> quirks of QSaveFile and Android. Even though these bugs are trivial [2],
> but having them in code is bad (especially since, saving files, configs can
> be serious if not done properly).
> 
> So, I’d like to ask, is there somebody who is working on getting unit tests
> etc to work on Android for kde-frameworks? If not, do you think it would be
> a good idea to think about it right now? Given more and more KDE apps are
> getting on mobile platform.

I absolutely would like to have Android unit tests! Having fixed some of those 
file I/O issue in Qt and KDE code myself I feel your pain there.

As Aleix said, the main challenge is figuring out how to do that. It might help 
if we do CI builds for x86 rather than/in addition to ARM? Craft can do that, 
even if the current CI image might not contain that configuration. That might 
be easier to execute in the Android emulator then, which presumably is how we 
would run tests on the CI?

Regards,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-android/attachments/20230111/ec6a0a2b/attachment.sig>


More information about the KDE-Android mailing list