Testinel’s pytest plugin captures structured test execution data directly from pytest and sends it to Testinel, where your test results become searchable, comparable, and actually useful.
Project description
Official Testinel plugin for pytest
Testinel’s pytest plugin captures structured test execution data directly from pytest and sends it to Testinel, where your test results become searchable, comparable, and actually useful. No log scraping. No brittle CI hacks. Just deterministic test analytics.
📦 Getting Started
Prerequisites
You need a Testinel account and project.
Installation
Getting Testinel into your project is straightforward. Just run this command in your terminal:
pip install --upgrade pytest-testinel
Configuration
Set Testinel reporter DSN environment variable TESTINEL_DSN.
Examples:
# Report to Testinel (HTTPS)
export TESTINEL_DSN="https://your.testinel.endpoint/ingest"
# Report to a local file (JSON)
export TESTINEL_DSN="file:///tmp/testinel-results.json"
# Or use a direct file path
export TESTINEL_DSN="./testinel-results.json"
Recommended pytest flags
For better debugging and richer failure context, it is highly recommended to run pytest with:
--showlocals --tb=long -vv
Why:
--showlocals: includes local variable values in tracebacks, which makes root-cause analysis much faster.--tb=long: shows full, non-truncated tracebacks so you can see complete failure paths.-vv: increases verbosity, showing more detailed test identifiers and execution output.
Example:
pytest --showlocals --tb=long -vv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_testinel-0.5.1.tar.gz.
File metadata
- Download URL: pytest_testinel-0.5.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a654c4c6f66de5d2e648d0a839a6d94a58f25c1259de1efbaae8b83be4c57b25
|
|
| MD5 |
87c80af98d4b8b49d0e39c45a069d670
|
|
| BLAKE2b-256 |
762f95d0b8735704beb406aeffe0a0630eef1dcda0cc22dea9e95b65edf78c17
|
File details
Details for the file pytest_testinel-0.5.1-py3-none-any.whl.
File metadata
- Download URL: pytest_testinel-0.5.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4faccdabf8d1b42fb2c410ddcd63e06e3737ae836b1279327a1485fccb71677
|
|
| MD5 |
2cc9c6fa35f3759379ac3462509c236e
|
|
| BLAKE2b-256 |
3d24214a72a3014ba9099eb2527b4a1c7694a9e7bcf51c927b3203c66a5c80cc
|