BSD Ports

devel/py-pycotap 1.3.1nb1 NetBSD

Tiny test runner that outputs TAP results to standard output

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
9.0 KiB, 29.8 KiB installed

Description

pycotap is a simple Python test runner for unittest that outputs Test Anything Protocol results directly to standard output.

Contrary to other TAP runners for Python, pycotap:

\* prints TAP (and only TAP) to standard output instead of to
a separate file, allowing you to pipe it directly to TAP pretty
printers and processors (such as the ones listed on the tape
page). By piping it to other consumers, you can avoid the need
to add specific test runners to your test code. Since the TAP
results are printed as they come in, the consumers can directly
display results while the tests are run.
\* only contains a TAP reporter, so no parsers, no frameworks,
no dependencies.
\* is configurable: you can choose how you want the test output
and test result diagnostics to end up in your TAP output (as
TAP diagnostics, YAML blocks, or attachments). The defaults
are optimized for a Jenkins based flow.

Install

Binary package:

pkgin install py311-pycotap

From pkgsrc:

cd /usr/pkgsrc/devel/py-pycotap && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.1nb1
NetBSD 10.1 aarch641.3.1nb1
SmartOS / illumos x86_641.3.1nb1
macOS 15 arm641.3.1nb1

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pycotap-1.3.1nb1, py313-pycotap-1.3.1nb1, py314-pycotap-1.3.1nb1