Name | tap2junit JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | A utility that converts TAP version 12 and 13 to JUnit. That's it. |
upload_time | 2024-06-17 13:27:59 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | Apache-2.0 |
keywords |
junit
tap13
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
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):
`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
```sh
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install pytest
pip install --editable ".[dev]"
pytest
```
Raw data
{
"_id": null,
"home_page": null,
"name": "tap2junit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "junit, tap13",
"author": null,
"author_email": "\"Node.js contributor\" <cclauss@me.com>",
"download_url": "https://files.pythonhosted.org/packages/3a/a0/9d52374fbc1c4e501cb4d0365d26bba28ecd8eca69ce157860713a388ea6/tap2junit-0.2.0.tar.gz",
"platform": null,
"description": "A utility that converts [TAP version 12 and 13](https://testanything.org/) to [JUnit](https://junit.org/junit5/). That's it.\n\nUpstream is currently unmaintained at https://bitbucket.org/fedoraqa/pytap13/src/develop/\n\nThe syntax expected is currently pretty custom-tailored for use at https://ci.nodejs.org\n\nImprovements are welcome.\n\nTo install from https://pypi.org/project/tap2junit (recommended):\n\n`pipx install tap2junit`\n\nTo install directly from this repo (not recommended):\n\n`pipx install --force git+https://github.com/nodejs/tap2junit.git`\n\nTo run:\n\n`tap2junit -i file.tap -o file.xml`\n\n`tap2junit --help`\n```\nusage: tap2junit [-h] --input INPUT --output OUTPUT [--compact] [--name NAME] [--package PACKAGE]\n\noptional arguments:\n -h, --help show this help message and exit\n --input INPUT, -i INPUT\n path to tap13 file\n --output OUTPUT, -o OUTPUT\n output file name\n --compact, -c do not prettify the xml output\n --name NAME, -n NAME override test suite name\n --package PACKAGE, -p PACKAGE\n set package for test suite\n```\n\nSuggested code hygiene:\n```\n$ ruff --show-fixes --show-source .\n$ black .\n```\n\n## Running tests locally\n\n```sh\npython3 -m venv .venv\nsource .venv/bin/activate\npip install --upgrade pip\npip install pytest\npip install --editable \".[dev]\"\npytest\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A utility that converts TAP version 12 and 13 to JUnit. That's it.",
"version": "0.2.0",
"project_urls": {
"Changelog": "https://github.com/nodejs/tap2junit/blob/main/CHANGELOG.md",
"Homepage": "https://github.com/nodejs/tap2junit"
},
"split_keywords": [
"junit",
" tap13"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f7d0170752bb5e059eee4c01e39061df12f3d6eb981b1abab727d803e60824b3",
"md5": "5cdd66574cb9a368ce570fb58b1ff694",
"sha256": "f32f3564f70c456b84dd208c99c21f94d66f50ac8e4bc057d77c7ee9fa861f4c"
},
"downloads": -1,
"filename": "tap2junit-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5cdd66574cb9a368ce570fb58b1ff694",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 10980,
"upload_time": "2024-06-17T13:27:56",
"upload_time_iso_8601": "2024-06-17T13:27:56.802017Z",
"url": "https://files.pythonhosted.org/packages/f7/d0/170752bb5e059eee4c01e39061df12f3d6eb981b1abab727d803e60824b3/tap2junit-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3aa09d52374fbc1c4e501cb4d0365d26bba28ecd8eca69ce157860713a388ea6",
"md5": "c3a5b3c3647902f6f2d63f873e6d9bee",
"sha256": "cb8917c7d8f88da8436a18e9e0d8fc52ab17160f354da95624f6958ee7023d8e"
},
"downloads": -1,
"filename": "tap2junit-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "c3a5b3c3647902f6f2d63f873e6d9bee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 487265,
"upload_time": "2024-06-17T13:27:59",
"upload_time_iso_8601": "2024-06-17T13:27:59.414144Z",
"url": "https://files.pythonhosted.org/packages/3a/a0/9d52374fbc1c4e501cb4d0365d26bba28ecd8eca69ce157860713a388ea6/tap2junit-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-17 13:27:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nodejs",
"github_project": "tap2junit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tap2junit"
}