MCPcopy Create free account
hub / github.com/pytest-dev/pytest-bdd / StepFunctionContext

Class StepFunctionContext

src/pytest_bdd/steps.py:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64@dataclass
65class StepFunctionContext:
66 type: Literal["given", "when", "then"] | None
67 step_func: Callable[..., Any]
68 parser: StepParser
69 converters: dict[str, Callable[[str], Any]] = field(default_factory=dict)
70 target_fixture: str | None = None
71
72
73def get_step_fixture_name(step: Step) -> str:

Callers 1

decoratorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…