pytest-qt icon indicating copy to clipboard operation
pytest-qt copied to clipboard

pytest plugin for Qt (PyQt5/PyQt6 and PySide2/PySide6) application testing

Results 45 pytest-qt issues
Sort by recently updated
recently updated
newest added

Hi *, our pipeline broke lately, running in to segfaults. After a while of searching, it appears that some widgets live on until the the test session concludes. Somehow, during...

Hi, should we add some up-to-date information in the docs about how to use this module from GitHub actions with `xvfb` or `QT_QPA_PLATFORM=offscreen` ? It might be useful for newcomers....

resolves #474 ## TODO - [ ] add status for component on `load()`

They support type hints, I would suggest to migrate to qtpy, I can help if you want _Originally posted by @nrbnlulu in https://github.com/pytest-dev/pytest-qt/issues/474#issuecomment-1411980934_

Hi I created this nice fixture and wanted to ask if it would be usefull to contribute it here? It supports loading QML from strings or from file and retrieving...

enhancement :cool:

The current docs (https://pytest-qt.readthedocs.io/en/1.5.0/signals.html ) give some examples like this: ``` def test_long_computation(qtbot): app = Application() # Watch for the app.worker.finished signal, then start the worker. with qtbot.waitSignal(app.worker.finished, timeout=10000) as...

docs :book:

Hi! We have been using Pytest-qt for a long time now and we did not have any issues until now. However, after upgrading to macOs Sonoma, I get random crashes...

First, thanks for this test package, it's a life-saver. I've been using it for some time now. I just want to simulate pressing of "Enter" on a QLineEdit (for example)....

I have found that https://github.com/pytest-dev/pytest-qt/blob/cdad310e88bcabe0cd6eb21843125b43706b54f1/src/pytestqt/exceptions.py#L90-L95 always returns `False` because `disabled` is either `"0"` or `"1"` (as strings) or `Mark(...)`, depending on whether I use `pytest.mark.qt_no_exception_capture` or `qt_no_exception_capture = 1`, all...

bug :bug: