Pragmatic Testing Framework for Python with BDD-style syntax and pluggable architecture
Build a minimal scenario suite and runner that demonstrates selective execution by path, subject content, tag expressions, and ordering controls. The suite should be easy to run with a few fixture scenarios that make the filters and ordering obvious.
scenarios/payments executes only the payment scenario and omits unrelated subjects while still reporting discovery count. @test"refund" executes only scenarios whose subjects include that substring, even across different files. @testsmoke&!slow executes only scenarios tagged with smoke but not slow, even when other scenarios live in the same file. @test@generates
from typing import Iterable, Optional, Sequence
from dataclasses import dataclass
@dataclass
class ScenarioResult:
subject: str
status: str
order_index: int
def run_suite(
paths: Sequence[str],
*,
subject_substring: Optional[str] = None,
include_tags: Optional[str] = None,
exclude_tags: Optional[str] = None,
focus_only: bool = False,
order: str = "declaration",
seed: Optional[int] = None,
) -> Iterable[ScenarioResult]:
"""Discover and execute scenarios under the given paths using selection controls and ordering."""Scenario-focused testing framework that provides selective execution, tag expressions, focus/skip markers, and ordering switches.
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