mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
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). WWW: http://launchpad.net/subunit PR: 228685 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc.
This commit is contained in:
parent
2d8424ec3a
commit
2d9234768b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471399
@ -4890,6 +4890,7 @@
|
||||
SUBDIR += py-python-pcre
|
||||
SUBDIR += py-python-socketio
|
||||
SUBDIR += py-python-statsd
|
||||
SUBDIR += py-python-subunit
|
||||
SUBDIR += py-python2-pythondialog
|
||||
SUBDIR += py-pythonbrew
|
||||
SUBDIR += py-pytimeparse
|
||||
|
32
devel/py-python-subunit/Makefile
Normal file
32
devel/py-python-subunit/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= python-subunit
|
||||
DISTVERSION= 1.3.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= freebsd_ports@k-worx.org
|
||||
COMMENT= Python implementation of subunit test streaming protocol
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}extras>=0:devel/py-extras@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mimeparse>=0:devel/py-mimeparse@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}testtools>=0.9.34:devel/py-testtools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}unittest2>=1.0.0:devel/py-unittest2@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= NEWS README.rst
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-python-subunit/distinfo
Normal file
3
devel/py-python-subunit/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1527328728
|
||||
SHA256 (python-subunit-1.3.0.tar.gz) = 9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb
|
||||
SIZE (python-subunit-1.3.0.tar.gz) = 99309
|
19
devel/py-python-subunit/pkg-descr
Normal file
19
devel/py-python-subunit/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
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).
|
||||
|
||||
WWW: http://launchpad.net/subunit
|
Loading…
Reference in New Issue
Block a user