CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-vedro

Pragmatic Testing Framework for Python with BDD-style syntax and pluggable architecture

49%

Overall

Evaluation49%

1.09x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-9/

Sliced Suite Runner

A CLI helper that runs a portion of the scenario suite for multi-worker pipelines while keeping ordering predictable.

Capabilities

Slice selection

  • Accepts a slice string like "2/5" and rejects missing or out-of-range slices with a clear error message @test
  • Prints a notice such as "Running slice 2 of 5" before invoking the underlying runner @test

Ordering control

  • Defaults to declaration order but supports reverse and random ordering via CLI flags @test
  • When random ordering is requested with a seed, the same seed produces identical scenario ordering across separate runs @test

Runner delegation

  • Forwards extra CLI args after -- untouched to the test runner while preserving slice/order settings @test

Implementation

@generates

API

from typing import Sequence

def run_from_cli(argv: Sequence[str]) -> int:
    """
    Parse CLI arguments for slice selection and ordering, then run the suite.
    
    Args:
        argv: Raw CLI arguments (excluding the executable).
    Returns:
        Exit code from the delegated test runner invocation.
    """

def build_parser():
    """Return an argument parser configured for slice/order flags and passthrough args."""

Dependencies { .dependencies }

vedro { .dependency }

Scenario runner that supports slicing suites into numbered portions and ordering them deterministically across workers.

@satisfied-by

tessl i tessl/pypi-vedro@1.14.0

tile.json