BSD Ports

devel/py-pytest-qt 4.5.0 MidnightBSD

Pytest support for PyQt and PySide applications

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
d5b474b501
License
mit
Categories
devel, python

Description

pytest-qt is a pytest plugin that allows programmers to write tests for PyQt5, PyQt6, PySide2 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.

In the other systems

The newest version among them is 4.5.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-pytest-qt4.5.0 newestno data-[email protected]2026-11-08
FreeBSDdevel/py-pytest-qt4.5.0 newestnone known-[email protected]2026-08-03
DragonFlydevel/py-pytest-qt4.5.0 newestnone known-[email protected]-
HardenedBSDdevel/py-pytest-qt4.5.0 newestno data-[email protected]-
GhostBSDdevel/py-pytest-qt4.5.0 newestno data-[email protected]-

Version history 1

  1. 4.5.0 d5b474b501

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-qt

From mports:

cd /usr/mports/devel/py-pytest-qt && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-qt>0:devel/py-pytest-qt

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

Test 1

Build dependencies 2
Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
python:3.9+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_qt-4.5.0.tar.gz12870251620e01c488f065d2036425cbc1cbcf8a6972295105fd285321eb47e66a319f
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
d5b474b501 Lucas Holt devel/py-pytest-qt: add Qt testing plugin 4.5.0
AI-Assisted-by: GPT-6 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>