Skip to main content
Pre-release

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

tracera-behave

Tracera Autotest adapter for Behave.

Requires Python ≥ 3.11 and Behave ≥ 1.2.6.

pip install tracera-behave

How-to: Behave. Shared env / run mode: Autotest adapters.

Setup

In features/environment.py:

from tracera_behave.environment import (
    after_all,
    after_scenario,
    after_step,
    before_all,
    before_scenario,
    before_step,
)

That import is enough — Behave loads the hooks from environment.py. Run: behave features.

Bind

Scenario tags @tracera.id:… / optional literal @tracera.name:…. If @tracera.name is omitted → Scenario name. Imperative tracera.test_case from step code is also available.

Skip

Stock context.scenario.skip(reason). The reason becomes a result comment.

Steps

Gherkin steps → Test. Nest with tracera.step(title, body), @tracera.step("…"), or with / async with tracera.step("…"):. before_scenario / after_scenario → Setup / Teardown; before_all / before_feature are not reported.

Comments, errors, and attachments

tracera.comment / tracera.error / tracera.attachment — see Autotest adapters.

Parameterized

Scenario Outline — put @tracera.id: on the Outline or Scenario. If @tracera.name is omitted → each test uses the Scenario name after <…> is filled from its Examples row. Tags do not support {param} templates. Or call tracera.test_case when the id varies per example.

Multi-process Behave: set a worker label (BEHAVE_WORKER, …) on each process so they share one run.

Metadata

Release files for tracera-behave 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-behave 0.1.0rc1
File Size Uploaded Provenance Actions
tracera_behave-0.1.0rc1.tar.gz 6.4 kB Without provenance Details for tracera_behave-0.1.0rc1.tar.gz

Built distribution (wheel)

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

Total release size: 14.0 kB

Release files / tracera_behave-0.1.0rc1.tar.gz

Download URL tracera_behave-0.1.0rc1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
933f8fdd312db38b630ddb5d278c905216942ebbb5dc05887ca4d4ec3c95b6a2
BLAKE2b-256 checksum
How to use checksums
6079f5c48ad27d5564fbd684750cc1efada4859183cdabf73708f734b6f8cc09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

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

Download URL tracera_behave-0.1.0rc1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db49af76a28942355d50c4d4e39e294baebdea9333fdee46224dff7a65bcfe96
BLAKE2b-256 checksum
How to use checksums
5562bc2ed4c53e2612200afc14e53f848415563c45d6d954cefd1039bded7968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Security for tracera-behave 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