otr-ctrf-bridge
Bidirectional converter between Open Test Reporting (OTR) and CTRF test report formats. Zero runtime dependencies; Python ≥3.9.
Usage
pip install otr-ctrf-bridge
otr-ctrf otr2ctrf events.xml -o ctrf-report.json
otr-ctrf ctrf2otr ctrf-report.json -o events.xml
Status mapping
| OTR | CTRF | rawStatus kept |
|---|---|---|
| SUCCESSFUL | passed | |
| SKIPPED | skipped | |
| FAILED | failed | |
| ERRORED | failed | ERRORED |
| ABORTED | failed | ABORTED |
| CTRF | OTR |
|---|---|
| passed | SUCCESSFUL |
| skipped | SKIPPED |
| pending | SKIPPED |
| failed | FAILED |
| other | FAILED |
Validation
- CTRF output: validated against the official CTRF JSON schema (vendored in tests)
- OTR output: validated with the official OTR CLI (
java -jar open-test-reporting-cli.jar validate)
Development
pip install -e ".[test]"
python -m pytest tests/
License
Apache-2.0. Formats belong to their respective projects: OTR (JUnit team) and CTRF (ctrf-io).
Metadata
Release files for otr-ctrf-bridge 0.1.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 | |
|---|---|---|---|---|
| otr_ctrf_bridge-0.1.0.tar.gz | 12.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otr_ctrf_bridge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / otr_ctrf_bridge-0.1.0.tar.gz
| Download URL | otr_ctrf_bridge-0.1.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9ce600a8767f13d6bab24218b19212a98445c382c0b22985c94cfcd1a83e71b
|
|
BLAKE2b-256 checksum How to use checksums |
4e2fd4731db9af9a1b1d702e912a20c76e5ce7c194e696a3185f45f17d442a9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / otr_ctrf_bridge-0.1.0-py3-none-any.whl
| Download URL | otr_ctrf_bridge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98d22434af1fba8ff41fea067a851460a89d2e9654bf2e72ac7a37427ca91f09
|
|
BLAKE2b-256 checksum How to use checksums |
ebc9693c5545d831340136c84fe8c3f0168bd75b72683ce4f4c233ec49407b90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for otr-ctrf-bridge 0.1.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.