devel/py-python-subunit 1.3.0_3 MidnightBSD
Python implementation of subunit test streaming protocol
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3, Apache-2.0
- Categories
- devel, python
Description
Subunit is a streaming protocol for test results.
There are two major revisions of the protocol. Version 1 was trivially human readable but had significant defects as far as highly parallel testing was concerned - it had no room for doing discovery and execution in parallel, required substantial buffering when multiplexing and was fragile - a corrupt byte could cause an entire stream to be misparsed. Version 1.1 added encapsulation of binary streams which mitigated some of the issues but the core remained.
Version 2 shares many of the good characteristics of Version 1 - it can be embedded into a regular text stream (e.g. from a build system) and it still models xUnit style test execution. It also fixes many of the issues with Version 1 - Version 2 can be multiplexed without excessive buffering (in time or space), it has a well defined recovery mechanism for dealing with corrupted streams (e.g. where two processes write to the same stream concurrently, or where the stream generator suffers a bug).
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-python-subunit | 1.3.0_3 |
| FreeBSD | devel/py-python-subunit | 1.4.6 |
| DragonFly | devel/py-python-subunit | 1.3.0_3 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}python-subunit
From mports:
cd /usr/mports/devel/py-python-subunit && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-subunit>0:devel/py-python-subunit
Dependencies
As this port's Makefile names them.
Runtime 2
${PYTHON_PKGNAMEPREFIX}extras>=0: devel/py-extras${PYTHON_PKGNAMEPREFIX}testtools>=0.9.34: devel/py-testtools
Test 3
${PYTHON_PKGNAMEPREFIX}fixtures>=0: devel/py-fixtures${PYTHON_PKGNAMEPREFIX}hypothesis>=0: devel/py-hypothesis${PYTHON_PKGNAMEPREFIX}testscenarios>=0: devel/py-testscenarios
Run dependencies 2
Required by 1
Configuration
Options name: devel_python-subunit
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python-subunit-1.3.0.tar.gz | 99309 | 9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb |
Master sites 1
- PYPI