Automated Tests and KConfig

Matthieu Gallien gallien.matthieu at
Mon Aug 17 22:57:20 BST 2020


I have been wandering if there is a general solution to use KConfig inside 
automated tests.

I have been having difficulties (and another contributor to Elisa) to integrate 
the singleton object lifetime with the need to run different tests isolated and 
using the singleton (including code to initialize it).

One problem I am trying to solve is calling <Class name>::initialize multiple 

One solution I have been using is encapsulating all KConfig code inside a class 
and fake it in the tests. Is there other solution ?


Best regards

More information about the kde-core-devel mailing list