Skip to main content

A utility that converts TAP version 12 and 13 to JUnit. That's it.

Project description

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):

pip install tap2junit or 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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tap2junit-0.1.6.tar.gz (490.0 kB view details)

Uploaded Source

Built Distribution

tap2junit-0.1.6-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file tap2junit-0.1.6.tar.gz.

File metadata

  • Download URL: tap2junit-0.1.6.tar.gz
  • Upload date:
  • Size: 490.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for tap2junit-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e2153818f53ecdc02254951f82040c2315ebc63c0db47a150d1f82b77cbe6544
MD5 fc7e00097523e1b8b73fbede294dbf07
BLAKE2b-256 4befe5aa3697ca57695334af6f8345b4d8ac0e6f48306894351c512e2ab52e9f

See more details on using hashes here.

File details

Details for the file tap2junit-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tap2junit-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for tap2junit-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e3df37bbb1dd0e3b3d942ccf04c882f37dd7e4e7b14153b50480d51d6cecdd7e
MD5 da6172583494b04d67f05af6370b808d
BLAKE2b-256 a0d6bf97286efe72b6c3a1cc4c67035774ff1a6a993da85307a5ec4a53528c8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page