tracera-pytest
Tracera Autotest adapter for pytest.
Tested on Python 3.11–3.15 and pytest 8–9.1.
pip install tracera-pytest
How-to: pytest. Shared env / run mode: Autotest adapters.
Setup
The package registers as a pytest plugin automatically (no -p flag).
import pytest
from tracera_pytest import id as tracera_id
from tracera_pytest import tracera
@tracera_id(42, "e2e/login")
def test_login():
tracera.step("open login", lambda: None)
Bind
@tracera.id(…) (preferred) or tracera.test_case. Optional name may use {param} / {param_id} from pytest parametrize. If name is omitted → item.name.
Skip
Stock pytest.skip. The reason becomes a result comment.
Steps
tracera.step(title, body), @tracera.step("…"), with tracera.step("…"):, or async with tracera.step("…"): (async def / awaitable bodies OK; decorator {name} / {0} from args). Function-scoped fixtures → Setup / Teardown; suite-level fixtures are not reported.
Comments, errors, and attachments
tracera.comment / tracera.error / tracera.attachment — see Autotest adapters.
Parameterized
@pytest.mark.parametrize + @tracera.id(id, "login as {login}"). Retries: final attempt only; PYTEST_RETRY on Env when retry > 0.
Metadata
Release files for tracera-pytest 2.0.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 | Actions |
|---|---|---|---|---|
| tracera_pytest-2.0.0.tar.gz | 11.8 kB | Without provenance | Details for tracera_pytest-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tracera_pytest-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for tracera_pytest-2.0.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / tracera_pytest-2.0.0.tar.gz
| Download URL | tracera_pytest-2.0.0.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ad22e782505631729d3070a9a48a5ce9e0d9d3f75925e9fecb09f87c7ca2277
|
|
BLAKE2b-256 checksum How to use checksums |
6162a7dde69c808d991c77b90a1e7713c18d28d334940c5b59892127fc8d52a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Release files / tracera_pytest-2.0.0-py3-none-any.whl
| Download URL | tracera_pytest-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cb9ca405b9ee5607e51ced068f1dbb04f8e6de4510a7ac68082e5781304548d
|
|
BLAKE2b-256 checksum How to use checksums |
3e2b99ca8af594bb4467c9a6ffcc4406aee6b2d5532131f60271982c307d903e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Security for tracera-pytest 2.0.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.