Metadata-Version: 2.1
Name: tap2junit
Version: 0.1.6
Summary: A utility that converts TAP version 12 and 13 to JUnit. That's it.
Project-URL: Homepage, https://github.com/nodejs/tap2junit
Author-email: "Node.js contributor" <cclauss@me.com>
License: Apache-2.0
License-File: LICENSE
Keywords: junit,tap13
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.7
Requires-Dist: junit-xml
Requires-Dist: yamlish
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: codespell[toml]; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-clarity; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Requires-Dist: safety; extra == 'dev'
Description-Content-Type: text/markdown

A utility that converts [TAP version 12 and 13](https://testanything.org/) to [JUnit](https://junit.org/junit5/). 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 .
```
