At the Linux App Summit (LAS) in Albania three months ago, I gave a talk about testing in the xdg-desktop-portal project. There is a recording of the presentation, and the slides are available as well.
To give a quick summary of the work I did:
Revamped the CI Reworked and improved the pytest based integration test harness Added integration tests for new portals Ported over all the existing GLib/C based integration tests Support ASAN for detecting memory leaks in the tests Made tests pretend to be either a host, Flatpak or Snap app The hope I had is that this will result in: