Skip to content

Allow pytest to run with sudo #22809

@Viermusketiere

Description

@Viermusketiere

To enable the execution of complex tests it is sometimes necessary to execute pytest with sudo.
A launch configuration supports the sudo flag. Is it possible to port this over for the execution of pytest / unittest tests started from the Testing tab?
It is quite annoying to have to execute some tests requiring elevated rights from the terminal and not be able to see the status of those tests in the test overview displayed in the Testing tab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions