Skip to content

Create macro which sets up a test and loads the runner

Alexander Lohnau requested to merge work/test_macro into master

This will allow one to quickly load the runner without building it twice or creating a static lib. Also one can now easily test, how the runner integrates in the RunnerManager. This might be especially relevant if the runner uses the lifecyle methods.

Additionally one can debug/benchmark the runner without much noise from the KRunner application/other plugins.

@bport You had done sth. similar with the KCmodule data, so feel free to comment on this proposal :)

And we can still extend this macro, for example to support D-Bus runners, but at the moment only the current setup is needed.

Merge request reports

Loading