devel/py-pytest-timeout 2.1.0_1 MidnightBSD
Pytest plugin to abort hanging tests
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
This is a plugin which will terminate tests after a certain timeout. When doing so it will show a stack dump of all threads running at the time. This is useful when running tests under a continuous integration server or simply if you don't know why the test suite hangs.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-pytest-timeout | 2.1.0_1 |
| FreeBSD | devel/py-pytest-timeout | 2.4.0 |
| DragonFly | devel/py-pytest-timeout | 2.1.0_1 |
| HardenedBSD | devel/py-pytest-timeout | 2.4.0 |
| GhostBSD | devel/py-pytest-timeout | 2.4.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pytest-timeout
From mports:
cd /usr/mports/devel/py-pytest-timeout && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytest>=5.0.0: devel/py-pytest
Test 2
${PYTHON_PKGNAMEPREFIX}pytest-cov>0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pexpect>0: misc/py-pexpect
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytest-timeout-2.1.0.tar.gz | 18386 | c07ca07404c612f8abbe22294b23c368e2e5104b521c1790195561f37e1ac3d9 |
Master sites 1
- PYPI