Skip to content

Start a window manager for tests #46

@rolandmas

Description

@rolandmas

Hi, as a Debian maintainer I'm faced with running testsuites for many packages, and an increasing number of them include a GUI. pytest-xvfb is quite convenient in wrapping the starting and stopping of Xvfb, but some of the tests (especially those using Qt) also require a running window manager to work.
So far I've worked around that by removing pytest-xvfb and starting/stopping Xvfb then a wm by hand, but that goes against the flow. I would love if pytest-xvfb could be given an option to set up a wm before starting the tests (and tear it down afterwards). Possibly via an environment variable and/or a pytest.ini option, I'll happily adapt :-)
Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions