pytest support for PyQt and PySide applications
built by guoguo
completed Thu, 29 Oct 2026 23:21:31 UTC
Description
pytest-qt is a pytest plugin that allows programmers to write tests for
PyQt5, PyQt6 and PySide6 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. This allows you to test
and make sure your view layer is behaving the way you expect after each
code change.
RPMs
No RPMs
Changelog
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 4.5.0-5 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 4.5.0-3 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 4.5.0-2 - Rebuilt for Python 3.14.0rc2 bytecode * Thu Jul 24 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 4.5.0-1 - Update to 4.5.0 * Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 4.4.0-17 - Rebuilt for Python 3.14 * Tue Mar 11 2025 Sandro <devel@penguinpee.nl> - 4.4.0-15 - Apply patch fixing test_qinfo * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Dec 19 2024 Sandro <devel@penguinpee.nl> - 4.4.0-10 - Add recommended dependency on pytest-xvfb * Fri Oct 18 2024 Sandro <devel@penguinpee.nl> - 4.4.0-8 - Fix test failing with PySide >= 6.8.0 * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild