Pragmatic Testing Framework for Python with BDD-style syntax and pluggable architecture
Use the testing framework's scenario templating to validate a delivery quote helper across varied routes without duplicating scenario definitions. Delivery totals are computed as: base fee 5.00, plus 1.50 per kilometer, plus 1.00 per kilogram. Remote cities are currently unsupported and should be marked skipped rather than failed.
@generates
class DeliveryQuote:
"""
Scenario template that verifies delivery price calculation for multiple routes.
"""
subject: str
def __init__(self, city: str, distance_km: float, weight_kg: float, expected_total: float | None = None, *, skip_reason: str | None = None) -> None: ...
def given_route_inputs(self) -> None: ...
def when_quote_is_requested(self) -> None: ...
def then_total_matches(self) -> None: ...Behavior-driven testing framework providing scenario classes and parameterized templating support. @satisfied-by
tessl i tessl/pypi-vedro@1.14.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10