Skip to main content

Crate rstest_bdd_harness

Crate rstest_bdd_harness 

Source
Expand description

Harness adapter contracts for rstest-bdd.

This crate provides a framework-agnostic interface for executing scenario runners and supplying test attributes through policy plug-ins.

Re-exports§

pub use tracing;

Structs§

DefaultAttributePolicy
Default attribute policy used by the standard harness.
ScenarioMetadata
Scenario metadata provided to harness adapters.
ScenarioRunRequest
A harness execution request for one scenario.
ScenarioRunner
A callable scenario runner closure owned by a harness.
StdHarness
Framework-agnostic synchronous harness.
TestAttribute
A single test attribute emitted by an AttributePolicy.

Enums§

HarnessError
Errors returned by crate::HarnessAdapter implementations.

Traits§

AttributePolicy
Supplies test attributes for generated scenario functions.
HarnessAdapter
Runs scenario closures inside a harness-specific environment.

Type Aliases§

HarnessResult
Convenience alias for harness adapter results.
StdScenarioRunRequest
Type alias for the common unit-context request case.
StdScenarioRunner
Type alias for the common unit-context runner case.