Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tracera-pytest

Tracera Autotest adapter for pytest.

Requires Python ≥ 3.11 and pytest ≥ 8.

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 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tracera-pytest 0.1.0rc1
File Size Uploaded Provenance Actions
tracera_pytest-0.1.0rc1.tar.gz 8.1 kB Without provenance Details for tracera_pytest-0.1.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tracera-pytest 0.1.0rc1
File Interpreter ABI Platform Actions
tracera_pytest-0.1.0rc1-py3-none-any.whl Python 3 none any Details for tracera_pytest-0.1.0rc1-py3-none-any.whl

Total release size: 18.4 kB

Release files / tracera_pytest-0.1.0rc1.tar.gz

Download URL tracera_pytest-0.1.0rc1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
044cfcb2600deca0e7954ca12256d36a8c7a0c5d18bd726538b97a85d6519bf9
BLAKE2b-256 checksum
How to use checksums
1b7fabc0bce30dc0cf31f7e69e6f88e2aab34b44c50dc3184ef3dd61b01484a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / tracera_pytest-0.1.0rc1-py3-none-any.whl

Download URL tracera_pytest-0.1.0rc1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
901b5e57ef6c8b6a1480f1b28d29a8b20e9f449e9d5eabe66b7ba2c3fc2a61c4
BLAKE2b-256 checksum
How to use checksums
89074eb0ea6f270d0d6412ba5c4254f85eaa089dc10d913907b285728f28583d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Security for tracera-pytest 0.1.0rc1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page