Pytest support for PyQt and PySide applications
pytest-qt
is a Pytest plugin that allows programmers to write tests for PyQt5 and PySide2 applications.
The main usage is to use the qtbot
fixture, responsible for handling qApp
creation as needed and provides methods to simulate user interaction, like key presses and mouse clicks.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/3ag93gbb01jmvpmbpcsggxhgnan0cam4-python-pytest-qt-4.4.0.drv | ||
riscv64-linux | /gnu/store/pa1f055i859i50bq7c2gqy62cg54fbrm-python-pytest-qt-4.4.0.drv | ||
aarch64-linux | /gnu/store/qwalf88i9036289jxkcasgapc921h374-python-pytest-qt-4.4.0.drv |
Linter | Message | Location |
---|---|---|
inputs-should-be-native Identify inputs that should be native inputs | 'python-pytest' should probably be a native input |
|
inputs-should-not-be-input Identify inputs that shouldn't be inputs at all | 'python-pre-commit' should probably not be an input at all |
|