A utility that converts TAP version 12 and 13 to JUnit. That's it.
Upstream is currently unmaintained at https://bitbucket.org/fedoraqa/pytap13/src/develop/
The syntax expected is currently pretty custom-tailored for use at https://ci.nodejs.org
Improvements are welcome.
To install from https://pypi.org/project/tap2junit (recommended):
pipx install tap2junit
To install directly from this repo (not recommended):
pipx install --force git+https://github.com/nodejs/tap2junit.git
To run:
tap2junit -i file.tap -o file.xml
tap2junit --help
usage: tap2junit [-h] --input INPUT --output OUTPUT [--compact] [--name NAME] [--package PACKAGE]
optional arguments:
-h, --help show this help message and exit
--input INPUT, -i INPUT
path to tap13 file
--output OUTPUT, -o OUTPUT
output file name
--compact, -c do not prettify the xml output
--name NAME, -n NAME override test suite name
--package PACKAGE, -p PACKAGE
set package for test suite
Suggested code hygiene:
$ ruff --show-fixes --show-source .
$ black .
Running tests locally
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install pytest
pip install --editable ".[dev]"
pytest
Metadata
Release files for tap2junit 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tap2junit-0.2.0.tar.gz | 487.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tap2junit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 498.2 kB
Release files / tap2junit-0.2.0.tar.gz
| Download URL | tap2junit-0.2.0.tar.gz |
|---|---|
| Size | 487.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb8917c7d8f88da8436a18e9e0d8fc52ab17160f354da95624f6958ee7023d8e
|
|
BLAKE2b-256 checksum How to use checksums |
3aa09d52374fbc1c4e501cb4d0365d26bba28ecd8eca69ce157860713a388ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / tap2junit-0.2.0-py3-none-any.whl
| Download URL | tap2junit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f32f3564f70c456b84dd208c99c21f94d66f50ac8e4bc057d77c7ee9fa861f4c
|
|
BLAKE2b-256 checksum How to use checksums |
f7d0170752bb5e059eee4c01e39061df12f3d6eb981b1abab727d803e60824b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for tap2junit 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.