I have introduced a new superbuild and MITK-build advanced cache variable called MITK_XVFB_TESTING. If switched on, it will prepend testdriver calls with xvfb-run --auto-servernum resulting in having a virtual frame buffer available for rendering tests. This is useful in headless systems like continuous integration clients. Works for Linux. To install xvfb call sudo apt install xvfb.